! 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 !
Allow to utilize & configure hybrid suspend in xfce menu and applets
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-power-manager
Component:
General

Comments

Description Łukasz Czuja 2012-10-03 10:33:28 CEST
Since kernel 3.6.0 a feature called "Suspend to both" has been implemented so now it is possible to use hybrid suspend with pm-utils without using uswsusp or tuxonice as a SLEEP_MODULE.

http://kernelnewbies.org/Linux_3.6#head-c3f337f7aee4ab30acbea016f5ba8a081979392d
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610380

Currently pm-utils, when asked to do hybrid suspend, suspends a laptop for a specifed ammount of time, than wakes it up and does hibernation. I believe this patch for pm-utils is needed to fully support pm-suspend-hybrid action in pm-utils:

http://marc.info/?l=freedesktop-pm-utils&m=134087583006804

Whatever the status is now for pm-utils, I belive that we should see patches following this issue quite soon.

What xfce currently seems to be lacking is the ability to either: 
1. Configure suspend action (for currently available suspend button in UI) to utilize hybrid suspend,
2. A clickable UI dialog labeled "Hybrid Suspend" in menus and End session dialogs that initiates hybrid suspend.

I think that a separate option (2) would be ideal. This should be easy enough to implement (copy/paste & change the action behind button).
Comment 1 Harald Judt 2014-11-19 21:14:40 CET
Closing because of age. If you're still interested in this, please reopen with up-to-date information.

Bug #9347

Reported by:
Łukasz Czuja
Reported on: 2012-10-03
Last modified on: 2014-11-19

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information