diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-11 11:20:12 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:56 +0200 |
commit | 4a5d12a9093044b348f76b63c78b531d4fdf9d2b (patch) | |
tree | 4b93a8fbd7efc9fc80c0c123e953a1944ed62b05 /etc | |
parent | 91df125e39c5200b87938ad51d28c1174b17bd1d (diff) |
etc: Add configuration for battery levels
Diffstat (limited to 'etc')
-rw-r--r-- | etc/UPower.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf index 5387c40..331743a 100644 --- a/etc/UPower.conf +++ b/etc/UPower.conf @@ -35,3 +35,44 @@ PollDockDevices=false # # default=false IgnoreLid=false + +# Policy for warnings and action based on battery levels +# +# 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 + +# When UsePercentageForPolicy is true, the levels at which UPower will +# consider the battery low, critical, or take action for the critical +# battery level. +# +# This will also be used for batteries which don't have time information +# such as that of peripherals. +# +# If any value is invalid, or not in descending order, the defaults +# will be used. +# +# Defaults: +# PercentageLow=10 +# PercentageCritical=3 +# PercentageAction=2 +PercentageLow=10 +PercentageCritical=3 +PercentageAction=2 + +# When UsePercentageForPolicy is false, the time remaining at which UPower +# will consider the battery low, critical, or take action for the critical +# battery level. +# +# If any value is invalid, or not in descending order, the defaults +# will be used. +# +# Defaults: +# TimeLow=1200 +# TimeCritical=300 +# TimeAction=120 +TimeLow=1200 +TimeCritical=300 +TimeAction=120 |