[maemo-developers] [maemo-developers] Battery/power status out of sysfs

From: David Weinehall david.weinehall at nokia.com
Date: Mon Oct 30 15:01:14 EET 2006
On sön, 2006-09-24 at 22:13 -0400, ext Andrew Barr wrote:
> I was wondering, really out of sheer curiosity, how to query power
> information (power supply, battery level status) directly instead of
> going through the Maemo or D-BUS API. Surely this information is
> available somewhere in /proc or (more likely) /sys, but I cannot find
> it. This has come up before...
> http://maemo.org/pipermail/maemo-developers/2005-December/002217.html
> ..without resolution.

Nope, there's public API to query it; the only API available is the
D-Bus interface.

Regards: David

More information about the maemo-developers mailing list