Does anybody know if there is a way to directly measure the voltage of the supply battery (6,4V Lipo) to log the battery voltage and prevent a deep discharge? As all my pins are already used, I cannot use an external voltage devider.

Would be really helpful if somebody got an idea.
Thanks in advance!