Charging: Which capacity-value to read?


lomaxx

Active Member
Joined
Sep 22, 2008
Messages
747
I am usually connecting my Pandora to my PC while tweaking/developing. At some point (not necessarily at 100%) it stops charging. And as i do not want to reconnect my USB-cable every time that happens, I also connect the PSU to the Pandora, when xfce's capacity-display shows a rather low percentage.


Now i noticed the following: There are two seperate values that show a battery-capacity.



Code:
cat /sys/class/power_supply/twl4030_bci_battery/capacity

cat /sys/class/power_supply/bq27500-0/capacity


These values usually differ for me. The first one is (at least most of the time as far as i can tell) higher. And here are my questions:


- Which is the one where the battery-driver should stop charging when it reaches 100%?


- Can I reactivate charging by echoing a string to some /sys/- or /proc/-node? And would it automatically stop at 100%?


- Is charging from both - psu and usb at once - somehow unhealthy?
 
Last edited by a moderator:
Back
Top