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

Details

package version: 1.2.0-6

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

BBS-Thread: https://bbs.archlinux.org/viewtopic.php?id=180020

Upstream bug and fixes: https://bugzilla.xfce.org/show_bug.cgi?id=10811
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 1.2.0.198.g76d1f4f-1
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 - http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=6cdc97e979b6924913ce270b06ad92d304e61ee4
- support systemd shutdown/reboot - http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=12f16e0e6a24ee009bc534e00c476939824cd4aa
- support systemd inhibitors - http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=c8824f344e8523bc48990e584493b8a2ef590699
- support upower 0.99 - http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=ae97be6f3500eea509d61c914e22c5355e7d57de and http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=7f4fb9c021fb80d28d2ef7dcdbd3839a39d16f99

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: https://github.com/mate-desktop/mate-power-manager.
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 1.2.0.198.g76d1f4f-1 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.

Loading...