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
This commit is contained in:
Bastien Nocera 2015-11-12 16:25:44 +01:00
parent 057f1bf338
commit db4f9b43df

View file

@ -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