192 |
- |
1 |
# Only the system vendor should modify this file, ordinary users
|
|
|
2 |
# should not have to change anything.
|
|
|
3 |
|
|
|
4 |
[UPower]
|
|
|
5 |
|
|
|
6 |
# Enable the Watts Up Pro device.
|
|
|
7 |
#
|
|
|
8 |
# The Watts Up Pro contains a generic FTDI USB device without a specific
|
|
|
9 |
# vendor and product ID. When we probe for WUP devices, we can cause
|
|
|
10 |
# the user to get a perplexing "Device or resource busy" error when
|
|
|
11 |
# attempting to use their non-WUP device.
|
|
|
12 |
#
|
|
|
13 |
# The generic FTDI device is known to also be used on:
|
|
|
14 |
#
|
|
|
15 |
# - Sparkfun FT232 breakout board
|
|
|
16 |
# - Parallax Propeller
|
|
|
17 |
#
|
|
|
18 |
# default=false
|
|
|
19 |
EnableWattsUpPro=false
|
|
|
20 |
|
|
|
21 |
# Don't poll the kernel for battery level changes.
|
|
|
22 |
#
|
|
|
23 |
# Some hardware will send us battery level changes through
|
|
|
24 |
# events, rather than us having to poll for it. This option
|
|
|
25 |
# allows disabling polling for hardware that sends out events.
|
|
|
26 |
#
|
|
|
27 |
# default=false
|
|
|
28 |
NoPollBatteries=false
|
|
|
29 |
|
|
|
30 |
# Do we ignore the lid state
|
|
|
31 |
#
|
|
|
32 |
# Some laptops are broken. The lid state is either inverted, or stuck
|
|
|
33 |
# on or off. We can't do much to fix these problems, but this is a way
|
|
|
34 |
# for users to make the laptop panel vanish, a state that might be used
|
|
|
35 |
# by a couple of user-space daemons. On Linux systems, see also
|
|
|
36 |
# logind.conf(5).
|
|
|
37 |
#
|
|
|
38 |
# default=false
|
|
|
39 |
IgnoreLid=false
|
|
|
40 |
|
|
|
41 |
# Policy for warnings and action based on battery levels
|
|
|
42 |
#
|
|
|
43 |
# Whether battery percentage based policy should be used. The default
|
|
|
44 |
# is to use the time left, change to true to use the percentage, which
|
|
|
45 |
# should work around broken firmwares. It is also more reliable than
|
|
|
46 |
# the time left (frantically saving all your files is going to use more
|
|
|
47 |
# battery than letting it rest for example).
|
|
|
48 |
# default=true
|
|
|
49 |
UsePercentageForPolicy=true
|
|
|
50 |
|
|
|
51 |
# When UsePercentageForPolicy is true, the levels at which UPower will
|
|
|
52 |
# consider the battery low, critical, or take action for the critical
|
|
|
53 |
# battery level.
|
|
|
54 |
#
|
|
|
55 |
# This will also be used for batteries which don't have time information
|
|
|
56 |
# such as that of peripherals.
|
|
|
57 |
#
|
|
|
58 |
# If any value is invalid, or not in descending order, the defaults
|
|
|
59 |
# will be used.
|
|
|
60 |
#
|
|
|
61 |
# Defaults:
|
|
|
62 |
# PercentageLow=10
|
|
|
63 |
# PercentageCritical=3
|
|
|
64 |
# PercentageAction=2
|
|
|
65 |
PercentageLow=10
|
|
|
66 |
PercentageCritical=3
|
|
|
67 |
PercentageAction=2
|
|
|
68 |
|
|
|
69 |
# When UsePercentageForPolicy is false, the time remaining at which UPower
|
|
|
70 |
# will consider the battery low, critical, or take action for the critical
|
|
|
71 |
# battery level.
|
|
|
72 |
#
|
|
|
73 |
# If any value is invalid, or not in descending order, the defaults
|
|
|
74 |
# will be used.
|
|
|
75 |
#
|
|
|
76 |
# Defaults:
|
|
|
77 |
# TimeLow=1200
|
|
|
78 |
# TimeCritical=300
|
|
|
79 |
# TimeAction=120
|
|
|
80 |
TimeLow=1200
|
|
|
81 |
TimeCritical=300
|
|
|
82 |
TimeAction=120
|
|
|
83 |
|
|
|
84 |
# The action to take when "TimeAction" or "PercentageAction" above has been
|
|
|
85 |
# reached for the batteries (UPS or laptop batteries) supplying the computer
|
|
|
86 |
#
|
|
|
87 |
# Possible values are:
|
|
|
88 |
# PowerOff
|
|
|
89 |
# Hibernate
|
|
|
90 |
# HybridSleep
|
|
|
91 |
#
|
|
|
92 |
# If HybridSleep isn't available, Hibernate will be used
|
|
|
93 |
# If Hibernate isn't available, PowerOff will be used
|
|
|
94 |
CriticalPowerAction=HybridSleep
|