[Debian-eeepc-devel] where's the battery info??
veroicon at gmail.com
Thu Sep 18 22:50:48 UTC 2008
Thanks! It is indeed in /sys/class/power_supply/BAT0. I'm using kernel 2.6.25.
On Thu, Sep 18, 2008 at 5:42 AM, Damyan Ivanov <dmn at debian.org> wrote:
> -=| 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Debian-eeepc-devel mailing list
> Debian-eeepc-devel at lists.alioth.debian.org
married Peter(2000) with bonus Patrick(01), Chris(03), Anthony(04), Bernard(07)
Upper Blue Mountains ABA
More information about the Debian-eeepc-devel