summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-11-12 16:25:44 +0100
committerBastien Nocera <hadess@hadess.net>2015-11-12 16:37:37 +0100
commitdb4f9b43dfe6b4d2b5063ae352d8eba017652fce (patch)
treeb7b37b327276e5ce7c226c5331824c82d814527c /etc
parent057f1bf338802c02425149d318d3b9317d8cd86b (diff)
downloadupower-db4f9b43dfe6b4d2b5063ae352d8eba017652fce.tar.gz
etc: Change the default low battery policy
It is now based on the percentage of battery left, rather than the usually unreliable "time left". See configuration file for more details. https://bugs.freedesktop.org/show_bug.cgi?id=92920
Diffstat (limited to 'etc')
-rw-r--r--etc/UPower.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf
index 4282948..a727ee3 100644
--- a/etc/UPower.conf
+++ b/etc/UPower.conf
@@ -41,9 +41,11 @@ IgnoreLid=false
#
# Whether battery percentage based policy should be used. The default
# is to use the time left, change to true to use the percentage, which
-# should work around broken firmwares.
-# default=false
-UsePercentageForPolicy=false
+# should work around broken firmwares. It is also more reliable than
+# the time left (frantically saving all your files is going to use more
+# battery than letting it rest for example).
+# default=true
+UsePercentageForPolicy=true
# When UsePercentageForPolicy is true, the levels at which UPower will
# consider the battery low, critical, or take action for the critical