Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219690 - xfce-extra/xfce4-battery needs acpid if ACPI is enabled
Summary: xfce-extra/xfce4-battery needs acpid if ACPI is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 08:15 UTC by Florian Berger
Modified: 2008-08-21 22:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Berger 2008-04-29 08:15:09 UTC
If the Linux kernel is built to support ACPI, then the xfce4-battery plugin for the XFCE panel does not work, constantly displaying "50%%".

This can be solved by emerging acpid.

While this is an upstream problem and there is a bug on the issue (http://bugzilla.xfce.org/show_bug.cgi?id=3579), it would be convenient if the ebuild would be aware of that for the time being.

I propose to make the ebuild aware of the acpi USE flag, and to pull in acpid as a dependency when it is set.

Reproducible: Always

Steps to Reproduce:
1. Compile ACPI support into the kernel
2. make sure acpid is not installed
3. emerge =xfce4-battery-0.5.0-r2
4. enable the plugin in the panel and behold the strange "50%%"
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2008-08-21 21:35:32 UTC
it still shows 50%% for me with acpid running
this is fixed by using sysfs instead of proc, fixed now
Comment 2 Florian Berger 2008-08-21 22:10:22 UTC
(In reply to comment #1)

Hi Christoph,

> this is fixed by using sysfs instead of proc, fixed now

This is a bit too brief for me. Is it fixed in the xfce4-battery plugin? Or in the ebuild? Or elsewhere?

Best regards, Florian