summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2012-01-06 17:34:20 +0100
committerRichard Hughes <richard@hughsie.com>2012-01-06 16:40:09 +0000
commit19790b99a2b8b0f1a784bfc8b10e7677020efdb8 (patch)
tree6d3883e3f163f6675f873411dbffc1b795f2ef8b /etc
parent4f3150fb27ed575c06630d302345de22d0bdef07 (diff)
downloadupower-19790b99a2b8b0f1a784bfc8b10e7677020efdb8.tar.gz
Add boolean RunPowersaveCommand to UPower.conf
Defaulting to true, it controls whether we want the powersave commands to be run when running on battery/plugging ac. Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/UPower.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf
index c9da9cd..23f06f8 100644
--- a/etc/UPower.conf
+++ b/etc/UPower.conf
@@ -20,6 +20,12 @@ SleepTimeout=1000
# default=true
AllowHibernateEncryptedSwap=true
+# This controls whether we want the powersave commands to be run when running
+# on battery or plugging AC.
+#
+# default=true
+RunPowersaveCommand=true
+
# Enable the Watts Up Pro device.
#
# The Watts Up Pro contains a generic FTDI USB device without a specific