Quote:
Originally Posted by DNSB
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).