[Pkg-xfce-devel] Bug#466058: Bug#466058: Same problem on HP nc6400 laptop

Yves-Alexis Perez corsac at debian.org
Wed Mar 12 21:01:41 UTC 2008

On mer, 2008-03-12 at 21:26 +0100, Michael Goth wrote:
> The problem is most certainly bound to the sysfs-patch.

> I've rebuilt the plugin from the source package (just configure &&
> make, 
> without applying the Debian patches) and copied it over the original 
> file in /usr/lib/xfce4-battery-plugin.
> This does report the correct values for percentage and remaining time.
> Here's some more system info Yves-Alexis has requested from previous 
> reporters:
> $> ls /sys/class/power_supply
> C1B2  C1B4
> C1B2 seems to be the ac adapter (its type file sys "Mains") while
> C1B4 
> is the real battery (type "Battery")

Well, the sysfs patch only looks for AC (ac adapter) so clearly in this
case it won't work.

Upstream is not interested to improve this patch (there's an hal branch
wich will surely become the next stable release). So there are two
solutions, I guess:
- someone (maybe me) improves the patch so it works in all cases
- we drop the patch completely, and only use procfs (wich is deprecated,
but will be supported for lenny, I hope)

What do you think?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20080312/1a057c38/attachment.pgp 

More information about the Pkg-xfce-devel mailing list