summaryrefslogtreecommitdiffstats
path: root/src/sleep/sleep.conf
diff options
context:
space:
mode:
authorMarc Reisner <reisner.marc@gmail.com>2024-08-05 01:01:34 +0200
committerGitHub <noreply@github.com>2024-08-05 01:01:34 +0200
commit2d00f4c306b4a5c3edef44e17c9efcf10cfb5d9b (patch)
tree3d5d182f451033bccffff19172fe660f097a42ac /src/sleep/sleep.conf
parentMerge pull request #33918 from YHNdnzj/exec-cred-cleanup (diff)
downloadsystemd-2d00f4c306b4a5c3edef44e17c9efcf10cfb5d9b.tar.xz
systemd-2d00f4c306b4a5c3edef44e17c9efcf10cfb5d9b.zip
sleep: add HibernateOnACPower= option (#33846)
* Add HibernateOnACPower= systemd-sleep configuration 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 98430348a7..153f747342 100644
--- a/src/sleep/sleep.conf
+++ b/src/sleep/sleep.conf
@@ -25,4 +25,5 @@
#HibernateMode=platform shutdown
#MemorySleepMode=
#HibernateDelaySec=
+#HibernateOnACPower=yes
#SuspendEstimationSec=60min