systemd-sleep.conf
Suspend and hibernation configuration file
- Provided by: systemd (Version: 204-5ubuntu20.31)
- Report a bug
Suspend and hibernation configuration file
/etc/systemd/sleep.conf
systemd supports three general power-saving modes:
suspend
hibernate
hybrid-sleep
Settings in this file determine what strings will be written to /sys/power/disk and /sys/power/state by systemd-sleep(8) when systemd(1) attempts to suspend or hibernate the machine.
The following options can be configured in the [Sleep] section of /etc/systemd/sleep.conf:
SuspendMode=, HibernateMode=, HybridSleepMode=
SuspendState=, HibernateState=, HybridSleepState=
Example: to exploit the “freeze” mode added in Linux 3.9, one can use systemctl suspend with
[Sleep]
SuspendState=freeze
systemd-sleep(8), systemd-suspend.service(8), systemd-hibernate.service(8), systemd-hybrid-sleep.service(8), systemd(1), systemd.directives(7)