! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Don't call wakeups code on !Linux
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Landry Breuil editbugs 2011-05-21 19:17:40 CEST
Afaik, wakeups in upower are only supported in the Linux backend, so on other oses you get a warning every second:

(xfce4-power-information:15258): xfce4-power-information-WARNING **: GetData Failed on /org/freedesktop/UPower/Wakeups : no hardware support

That'd be nice if either that code and the wakeups tab wasn't called/shown at all on !Linux, or if hw support could be tested only once and then disabled if not supported, either at build time or runtime.
Comment 1 Simon Steinbeiss editbugs 2014-08-25 17:05:54 CEST
Since this bugreport is a bit dated and I can't find any reference to wakeups in the code, I'm wondering, does this still apply?
Comment 2 Landry Breuil editbugs 2014-08-25 22:19:56 CEST
yeah i dont think it applies anymore - xfpm_info_update_wakeups() and the power-info application was removed in 1ec4ffb6ef741060b44696f67c435e9bce9b30ad
Comment 3 Simon Steinbeiss editbugs 2014-08-26 11:46:37 CEST
Thanks for checking!
Marking as fixed then.

Bug #7641

Reported by:
Landry Breuil
Reported on: 2011-05-21
Last modified on: 2014-08-26

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information