November 12, 2019, 01:59:53 pm

News:

SMF - Just Installed!


Battery Status

Started by wolo2663, February 19, 2014, 03:17:23 pm

Previous topic - Next topic

wolo2663

Hi,
I am building my own kernel for the A10 LIME. What must I enable in the kernel to allow a program to read the battery status (voltage, level etc.)? I have the 6600 mAh battery sold by Olimex. I found a couple of battery drivers in the kernel config but I don't know which one to use.

Regards,
Will 

progmetalbg

You can check the files in /sys/class/power_supply/battery directory.