Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#39893 - [xfce4-power-manager] does not work with upower >= 0.99.0

Attached to Project: Arch Linux
Opened by Bjoern Franke (bjo) - Wednesday, 16 April 2014, 08:25 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 27 April 2014, 09:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 18
Private No


package version: 1.2.0-6

xfce4 power manager is not updated caused by upower >= 0.99.0


Upstream bug and fixes:
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 27 April 2014, 09:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  xfce4-power-manager
Comment by Robert Alessi (ralessi) - Monday, 21 April 2014, 13:22 GMT
mate-power-manager does not work either with upower >=0.99.0
Comment by David Rosenstrauch (darose) - Wednesday, 23 April 2014, 00:57 GMT
It appears this was fixed in xfce upstream. (See the upstream bug link above.) Any chance Arch can build/release a patched version?
Comment by Christian Hesse (eworm) - Wednesday, 23 April 2014, 09:50 GMT
I think we have two options here...

* Backport the changes to to version 1.2.0 (which is quite old already, release has been about two years ago). There's a lot of changes, so probably it requires some time (and possibly skills, have not looks at it in detail).
* Update the package to git and get everything in place. This will bring some more bug fixes and improvements.

Any opinions?
Is anybody working on a backport?
Comment by Mariusz Libera (mar04) - Wednesday, 23 April 2014, 10:23 GMT
I've been using git version for a couple of days now and it's rock solid. I've looked at the git log and it's mostly translations, bug fixes and improved support for systemd:
- support systemd suspend/resume -
- support systemd shutdown/reboot -
- support systemd inhibitors -
- support upower 0.99 - and

I would suggest packaging a git snapshot.
Comment by Robert Alessi (ralessi) - Wednesday, 23 April 2014, 10:29 GMT
As I said in my previous post mate-power-manager is also affected. I tested batti with no more success. If all these applets share the same code, I am afraid that fixing this bug will take some time. Meantime, as a workaround, I can tell that conky + notify-send does the job quite well.
Comment by Robert Alessi (ralessi) - Wednesday, 23 April 2014, 10:39 GMT
I just checked for mate-power-manager on github, and it seems that the bug was fixed:
Comment by Ben (cloudberry) - Wednesday, 23 April 2014, 10:42 GMT
I've also been using the git version with no problems. I'm using xfce4-power-manager-git from the AUR.

Doesn't this kind of thing happen fairly often? Doesn't Arch have a standard policy for it?
Comment by Evangelos Foutras (foutrelis) - Wednesday, 23 April 2014, 18:43 GMT
I've pushed a Git snapshot to [testing] and will move it to [extra] within a couple of days.

Feel free to install xfce4-power-manager and report any issues (hopefully there are none).
Comment by skrat (skrat) - Thursday, 24 April 2014, 10:35 GMT
Recent updates really broke power management for me. This one (upower) along with systemd-logind (blocking xfce4-power-manager from handling ACPI(?) events) and who knows what causes /sys/class/power_supply/BAT0/status to be "Unknown" when charging.