xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24

Celejar celejar at gmail.com
Thu Feb 21 02:14:18 CET 2008


On Wed, 20 Feb 2008 08:20:47 +0100
Yves-Alexis Perez <corsac at debian.org> wrote:

[snip]

> Yesterday, some people complained in #xfce that battery plugin wasn't
> working (using sysfs patch). He had no /sys/class/power_supply/AC but
> had a /sys/class/power_supply/ACAD. This confused the battery plugin
> (but not the 28% thingy) so I thought it could be a good idea to check
> for ACAD too, but looking on google it seems that it's not really
> frequent (at all). Can people with laptop check
> their /sys/class/power_supply and report if they have AC or ACAD (with
> the output of uname -a)?

/sys/class/power_supply contains 'ACAD', which is a symlink
to /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:2a/ACPI0003:00/power_supply/ACAD

`uname -a`:
Linux lizzie 2.6.24-lizzie #1 Sat Feb 9 20:16:04 EST 2008 i686 GNU/Linux
(self compiled from Debian source package)

> Yves-Alexis

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator




More information about the Xfce mailing list