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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkjR6kcACgkQHqjlqpcl9jtWgwCgq0miSU6BsSRJMQvs72gpylr8 > Q9wAmwVOQJsYxECfm3hJrwyYDbv7KA77 > =20H5 > -----END PGP SIGNATURE----- > > _______________________________________________ > Debian-eeepc-devel mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel > > -- married Peter(2000) with bonus Patrick(01), Chris(03), Anthony(04), Bernard(07) http://www.brandt.id.au breastfeeding counsellor Upper Blue Mountains ABA http://www.hermes.net.au/aba/ _______________________________________________ Debian-eeepc-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel
