[Xfce-bugs] [Bug 12770] New: Hybrid Sleep support
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Aug 17 02:25:54 CEST 2016
https://bugzilla.xfce.org/show_bug.cgi?id=12770
Bug ID: 12770
Summary: Hybrid Sleep support
Classification: Xfce
Product: Xfce4-session
Version: Unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: Medium
Component: General
Assignee: xfce-bugs at xfce.org
Reporter: pomidorabelisima at gmail.com
QA Contact: bjt23 at cornell.edu
CC: benny at xfce.org, nick at xfce.org
Target Milestone: Xfce 4.12
Created attachment 6774
--> https://bugzilla.xfce.org/attachment.cgi?id=6774&action=edit
Hybrid Sleep support
Hybrid Sleep support - "hibernate" and suspend the system
Hybrid Sleep initially only writes hibernation image to SWAP space,
it does not power off the machine, as a whole Suspend To Disk (S4) does,
it rather Suspend To RAM (S3).
The benefit of this combination is pronto RESUME from S3,
whilst in case of battery drained or interruptions in power supply of any kind,
you ain't gonna lose your work.
Hybrid Sleep is the feature of the Linux kernel.
To test it directly via cli:
echo suspend > /sys/power/disk ; echo disk > /sys/power/state
However to make this feature work,
both Suspend To RAM (S3) and Suspend To Disk (S4)
must be provided by the hardware
dmesg:
ACPI: (supports ... S3 S4 ...)
in working order.
Furthermore Suspend To Disk (S4) requires a relatively simple configuration
an appendix to kernel command line:
resume=<path to resume partition>
i.e. directive to utilize particular SWAP space
man 7 dracut.cmdline
Ref.
https://www.kernel.org/doc/Documentation/power/swsusp.txt
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list