Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: wolo2663 on February 19, 2014, 03:17:23 PM

Title: Battery Status
Post by: wolo2663 on February 19, 2014, 03:17:23 PM
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 
Title: Re: Battery Status
Post by: progmetalbg on February 19, 2014, 07:50:30 PM
You can check the files in /sys/class/power_supply/battery directory.