summaryrefslogtreecommitdiffstats
path: root/src/sleep/sleep.conf
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-03-27 12:45:34 +0100
committerMike Yuan <me@yhndnzj.com>2024-03-28 10:19:35 +0100
commita2124b35e92178fd028d7c29ecdd5e80ea7f7b8f (patch)
tree0ff768a0ed336bd290d6279a1c93b9ac74f54990 /src/sleep/sleep.conf
parentsleep: make write_mode take a path (diff)
downloadsystemd-a2124b35e92178fd028d7c29ecdd5e80ea7f7b8f.tar.xz
systemd-a2124b35e92178fd028d7c29ecdd5e80ea7f7b8f.zip
sleep: add SleepMemMode= setting for configuring /sys/power/mem_sleep
The setting is used when /sys/power/state is set to 'mem' (common for suspend) or /sys/power/disk is set to 'suspend' (hybrid-sleep). We default to kernel choice here, i.e. respect what's set through 'mem_sleep_default=' kernel cmdline option.
Diffstat (limited to 'src/sleep/sleep.conf')
-rw-r--r--src/sleep/sleep.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sleep/sleep.conf b/src/sleep/sleep.conf
index fad95b3897..d12f97099a 100644
--- a/src/sleep/sleep.conf
+++ b/src/sleep/sleep.conf
@@ -23,5 +23,6 @@
#AllowHybridSleep=yes
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
+#SleepMemMode=
#HibernateDelaySec=
#SuspendEstimationSec=60min