-=| 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: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to