minimal battery capacity for next re-boot

Matthias Apitz guru at
Mon Sep 22 15:52:02 CEST 2008


One can monitor the actual battery capacity in the FreeRunner with:

# cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/capacity

I'm thinking in writing a small shell script to shutdown the Gadget when
the battery capacity falls down under certain value X to have enough
power for one next reboot to re-charge via USB; what would be such a
value? 10% or even less? that the beast comes up again to be charged
again with the power supply?


Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at> - w
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

More information about the community mailing list