mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-20 15:40:44 -04:00
disable systemd sleep support
This commit is contained in:
parent
45f6f63cc0
commit
953420e7a3
1 changed files with 26 additions and 0 deletions
26
systemd/sleep.conf
Normal file
26
systemd/sleep.conf
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it under the
|
||||||
|
# terms of the GNU Lesser General Public License as published by the Free
|
||||||
|
# Software Foundation; either version 2.1 of the License, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# Entries in this file show the compile time defaults. Local configuration
|
||||||
|
# should be created by either modifying this file, or by creating "drop-ins" in
|
||||||
|
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
|
||||||
|
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||||
|
#
|
||||||
|
# See systemd-sleep.conf(5) for details.
|
||||||
|
|
||||||
|
[Sleep]
|
||||||
|
AllowSuspend=no
|
||||||
|
AllowHibernation=no
|
||||||
|
#AllowSuspendThenHibernate=yes
|
||||||
|
#AllowHybridSleep=yes
|
||||||
|
#SuspendMode=
|
||||||
|
#SuspendState=mem standby freeze
|
||||||
|
#HibernateMode=platform shutdown
|
||||||
|
#HibernateState=disk
|
||||||
|
#HybridSleepMode=suspend platform shutdown
|
||||||
|
#HybridSleepState=disk
|
||||||
|
#HibernateDelaySec=180min
|
Loading…
Add table
Add a link
Reference in a new issue