View Single Post
Old 05-23-2019, 02:16 PM   #634
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,758
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
If it's just for checking the battery you can download the zip and check it locally.

There's not much to it in any case. There are these two files provided by the kernel:

/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/capacity
/sys/devices/platform/pmic_battery.1/power_supply/mc13892_bat/status

The first tells you the supposed percentage, the second whether it's charging or not.
Frenzie is offline   Reply With Quote