Thread
:
How to get the battery charge level
View Single Post
09-22-2013, 04:32 PM
#
2
KevinShort
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
In the directory "/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat" you can get various info on the battery. Both voltage_now and capacity seem to contain the percentage of battery left.
KevinShort
View Public Profile
Find More Posts by KevinShort
Track Posts by KevinShort via RSS