summaryrefslogtreecommitdiff
path: root/etc/UPower.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/UPower.conf')
-rw-r--r--etc/UPower.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf
new file mode 100644
index 0000000..1b7f9c3
--- /dev/null
+++ b/etc/UPower.conf
@@ -0,0 +1,22 @@
+# Only the system vendor should modify this file, ordinary users
+# should not have to change anything.
+
+[UPower]
+
+# This is the smallest amount of time that UPower gives to session and system
+# processes after the suspend or hibernate request is given.
+# If the session power management component uses AboutToSuspend() then the
+# session process can only make this time larger than the value below, never
+# smaller.
+#
+# Reducing this time means the suspend happens quicker, but might also not give
+# some processes enough time to save state.
+#
+# default=1000
+SleepTimeout=1000
+
+# This controls whether hibernate is allowed when using encrypted swap.
+#
+# default=true
+AllowHibernateEncryptedSwap=true
+