View Single Post
Old 05-18-2023, 01:53 PM   #1000
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by DNSB View Post
Before using this on a different Kobo ereader, check the contents of /sys/class/power_supply/battery/ since they are not the same on all models. A Sage for example only has the first two items listed.
Yup, see https://github.com/koreader/KoboUSBM...ms.h#L126-L128 .

I can also confirm the author's suspicions about the accuracy of the raw values: it's dogshit on most devices . (A pretty telling example of that is that you can get the same magical jumps of >25% of capacity by just plugging/unplugging a device; while on others, the values are simply plain nonsensical or frozen).

Last edited by NiLuJe; 05-18-2023 at 01:56 PM.
NiLuJe is offline   Reply With Quote