xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
Yves-Alexis Perez
corsac at debian.org
Wed Feb 20 16:34:36 CET 2008
On Wed, Feb 20, 2008 at 07:38:25AM +0000, Brian J. Tarricone wrote:
> You can't depend on the device-name-specific directory names to stay the
> same across kernel versions or different hardware. In this case
> '/sys/class/power_supply/' is a stable interface, and (at least some
> subset of) the files in /sys/class/power_supply/*/* are stable, but
> '/sys/class/power_supply/foo' is not. At least, that's how I understand it.
Yup, but as I'm not the patch author, I only want to change it the less
possible.
>
> Alternatively, the battery plugin should just use HAL, and then it can
> work on the BSDs as well without OS-specific code.
Yeah, but I won't do it :) I think someone is currently doing that (Nick?), so
I guess one solution is to wait.
--
Yves-Alexis
More information about the Xfce
mailing list