From a2124b35e92178fd028d7c29ecdd5e80ea7f7b8f Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Wed, 27 Mar 2024 19:45:34 +0800 Subject: 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. --- src/sleep/sleep.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sleep/sleep.conf') 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 -- cgit v1.2.3