Battery kernel interface ?


What kind of monitoring and control are you looking for?


/sys/class/power_supply/bqSomething


gives reasonably accurate voltage and consumption/charge rates.


/sys/class/power_supply/twlSomething


is access to the actual charge chip which you can read whether it is plugged into AC, USB, or running off of battery, and adjust the rate at which it is charging (or was that property read only?).
 
To get raw info, you need some i2c development. That may be more work for more information and control than you need which is why I asked what you needed it for. ;)
 
Back
Top