Summary: | xfce-extra/xfce4-battery-plugin uses deprecated /proc/acpi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | account-removed <account-removed-ee4b8c405f7fc42156f3a4085b4bfa03> |
Component: | [OLD] Library | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | ComputerDruid, karl.j.linden, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
account-removed
2014-03-02 01:49:05 UTC
A quick reading of the source code shows that it does at least try to use /sys/class/power_supply entries: (line 197 of http://git.xfce.org/panel-plugins/xfce4-battery-plugin/tree/panel-plugin/libacpi.c#n197 ) It's possible that this code is simply broken, but I would suspect that something else is wrong here. Unfortunately, I don't have any insight on what that might be, I just looked into it a bit because I was curious. Something to check might be to see if the entries in /sys/class/power_supply exist and are working. (on my system, /sys/class/power_supply/BAT0/charge_now ) It is working. I checked and procfs has no such entries, while sysfs does. Moreover, acpi uses sysfs, so if acpi shows correct information, it should be fine. Additional information: I moved over to gnome3, their battery widget works fine, so this is definitely an xfce issue. Report this to http://bugzilla.xfce.org/ and provide the link to the bug here, in the "See Also: " field |