[Debian-eeepc-devel] where's the battery info??
Damyan Ivanov
dmn at debian.org
Thu Sep 18 05:42:31 UTC 2008
-=| Veronica Brandt, Thu, Sep 18, 2008 at 03:45:43AM +0000 |=-
> I'm trying to get adesklets working with openbox. The acpi battery
> monitor desklet looks for /proc/acpi/battery/BAT0/info which doesn't
> exist on my machine. Running acpi -b
> No support for device type: battery
$ acpi -b
Battery 0: Discharging, 88%, 04:48:13 remaining, design capacity
6580 mAh
acpi v1.1-2
> So where does the info live? Gkrellm picks it up, but haven't
> figured out how it does that.
What you are looking for is probably in /sys/class/power_supply/BAT0/.
I think the 2.6.26 kernel no longer provides the backwards-compatible
interface in /proc
--
dam JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080918/5c1f86c9/attachment.pgp
More information about the Debian-eeepc-devel
mailing list