Welcome, Guest

Author Topic: Battery Status  (Read 2204 times)

wolo2663

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Battery Status
« 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 

progmetalbg

  • Full Member
  • ***
  • Posts: 136
  • Karma: +17/-0
Re: Battery Status
« Reply #1 on: February 19, 2014, 07:50:30 PM »
You can check the files in /sys/class/power_supply/battery directory.