Battery level vs raw battery level
Hi dev community,
I was just digging a bit into androids handling of batteries (as it is acting really weird, currently. It only changes the battery level on reboots, I think) and saw, that htc differentiates between a battery level and a raw battery level.
I could find this in the following places:
The raw percentage seems to be a bit lower than the percentage. What are the differences between them and is there some UI utility to show these battery infos?
I was just digging a bit into androids handling of batteries (as it is acting really weird, currently. It only changes the battery level on reboots, I think) and saw, that htc differentiates between a battery level and a raw battery level.
I could find this in the following places:
- Code:
grep Percentage /sys/class/power/power_supply/battery/batt_attr_text
- Code:
grep level_raw arch/arm/mach-msm/htc_battery_8960.c
The raw percentage seems to be a bit lower than the percentage. What are the differences between them and is there some UI utility to show these battery infos?
from xda-developers http://ift.tt/2cG83zz
via IFTTT
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home