Hello,
I am making an application that will need to query for battery power on the system. Is there a simple api call in C/C++ that would perform this function?
Do I need any other utilities to do this?
I run Debian Sarge, 2.6.8 smp kernel.

Cheers!