From 5f1e64709b62517e4a925e952d255ab16d818df0 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 14 Apr 2010 10:08:57 +0100 Subject: Add a config file with SleepTimeout and AllowHibernateEncryptedSwap entries --- etc/Makefile.am | 6 ++++++ etc/UPower.conf | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 etc/Makefile.am create mode 100644 etc/UPower.conf (limited to 'etc') diff --git a/etc/Makefile.am b/etc/Makefile.am new file mode 100644 index 0000000..3e39412 --- /dev/null +++ b/etc/Makefile.am @@ -0,0 +1,6 @@ +configdir = $(sysconfdir)/UPower +config_DATA = UPower.conf + +EXTRA_DIST = \ + $(config_DATA) + 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 + -- cgit v1.2.1