srigururaja / battery-indicator

Automatically exported from code.google.com/p/battery-indicator
Other
0 stars 0 forks source link

Battery indication for multi-battery devices #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The indicator now indicates the battery level for only the main battery. 
Android is widely used, also with devices like the Transformer Prime. This 
tablet comes with an optional  detachable keyboard (with its own battery). When 
you click the tablet in the keyboard, it becomes a part of the device. The 
battery-indicator now does not include this additional battery and does not 
give you a good indication of the 'whole' device. 
It would be nice if this additional battery could be included in the percentage 
/ estimations. 

Original issue reported on code.google.com by frans.ge...@gmail.com on 13 Apr 2012 at 2:58

GoogleCodeExporter commented 8 years ago
Thanks to this info you sent me via email, this should definitely be possible:

"I got curious and looked in the /sys/class/power_supply. I've found a 
dock_battery sub-folder. In that folder there is a status and capacity file, 
the latter appears to be giving back the actual percentage.  There is also a 
dock_ac folder in the power_supply folder which is used - I guess - when the 
battery is charging."

I'm accepting this a good idea that I plan to implement when I get a chance.  I 
still need to work out a reasonable way to display the information (A second 
icon? Additional info in the pull-down notification?  Ideas welcome.)  I'll 
need you or someone else to test it out once I get a test version built.

Original comment by andr...@darshancomputing.com on 13 Apr 2012 at 4:11

GoogleCodeExporter commented 8 years ago
long life

Original comment by ths2...@gmail.com on 17 Mar 2013 at 5:42