Debian Codegraph @

etc/UPower.conf

raw
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=20.0
63 # PercentageCritical=5.0
64 # PercentageAction=2.0
65 PercentageLow=20.0
66 PercentageCritical=5.0
67 PercentageAction=2.0
68
69 # When UsePercentageForPolicy is false, the time remaining in seconds at
70 # which UPower will consider the battery low, critical, or take action for
71 # the critical 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 # Enable the risky CriticalPowerAction-Suspend
85 # This option is not recommended, but it is here for users who
86 # want to enable the risky CriticalPowerAction, such as "Suspend"
87 # to fulfill their needs.
88 # Default is false
89 AllowRiskyCriticalPowerAction=false
90
91 # If the user performs the battery recalibration, the battery behavior
92 # will be set to "force discharge" and the user expects the battery will
93 # be fully discharged. However, upower performs the
94 # CriticalPowerAction earlier than the battery was fully discharged.
95 # ExpectBatteryRecalibration allows upower to ignore the
96 # CriticalPowerAction when the user attempts to perform the battery recalibration.
97 # Default is false
98 ExpectBatteryRecalibration=false
99
100 # The action to take when "TimeAction" or "PercentageAction" above has been
101 # reached for the batteries (UPS or laptop batteries) supplying the computer
102 #
103 # Possible values are:
104 # PowerOff
105 # Hibernate
106 # HybridSleep
107 # Auto (The CriticalPowerAction will be determined by the system)
108 # Suspend (AllowRiskyCriticalPowerAction should be true to use this option but risky)
109 # Ignore (AllowRiskyCriticalPowerAction should be true to use this option but risky)
110 #
111 # If Suspend isn't available or AllowRiskyCriticalPowerAction=false, HybridSleep will be used
112 # If HybridSleep isn't available, Hibernate will be used
113 # If Hibernate isn't available, PowerOff will be used
114 CriticalPowerAction=Auto