From: Hamish Moffatt Date: Mon, 5 Jul 2021 09:06:15 +0000 (+1000) Subject: Clarify the behaviour of suspend-then-sleep mode in the manual pages. X-Git-Tag: v249~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33f899bd479534b0a920ce427cdf06739028f5ab;p=thirdparty%2Fsystemd.git Clarify the behaviour of suspend-then-sleep mode in the manual pages. Fixes #20125. --- diff --git a/man/systemd-sleep.conf.xml b/man/systemd-sleep.conf.xml index d117a212acd..8a51d729ff5 100644 --- a/man/systemd-sleep.conf.xml +++ b/man/systemd-sleep.conf.xml @@ -137,14 +137,17 @@ /sys/power/disk by, respectively, systemd-suspend.service8, - systemd-hibernate.service8, - systemd-hybrid-sleep.service8, or - systemd-suspend-then-hibernate.service8. + systemd-hibernate.service8, or + systemd-hybrid-sleep.service8. More than one value can be specified by separating multiple values with whitespace. They will be tried in turn, until one is written without error. If neither succeeds, the operation will be aborted. + + systemd-suspend-then-hibernate.service8 + uses the value of SuspendMode= when suspending and the value of HibernateMode= when hibernating. + @@ -156,13 +159,15 @@ /sys/power/state by, respectively, systemd-suspend.service8, - systemd-hibernate.service8, - systemd-hybrid-sleep.service8, or - systemd-suspend-then-hibernate.service8. + systemd-hibernate.service8, or + systemd-hybrid-sleep.service8. More than one value can be specified by separating multiple values with whitespace. They will be tried in turn, until one is written without error. If neither succeeds, the operation will be aborted. + + systemd-suspend-then-hibernate.service8 + uses the value of SuspendState= when suspending and the value of HibernateState= when hibernating. diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index c525a3bda24..29249365a0e 100644 --- a/man/systemd-suspend.service.xml +++ b/man/systemd-suspend.service.xml @@ -103,8 +103,8 @@ - + Suspend, hibernate, suspend then hibernate, or put the system to hybrid sleep.