Add .latexmkrc
[~bandali/configs] / other / tlp / etc / default / tlp
1 # ------------------------------------------------------------------------------
2 # tlp - Parameters for power save
3 # See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html
4
5 # Hint: some features are disabled by default, remove the leading # to enable
6 # them.
7
8 # Set to 0 to disable, 1 to enable TLP.
9 TLP_ENABLE=1
10
11 # Operation mode when no power supply can be detected: AC, BAT
12 # Concerns some desktop and embedded hardware only.
13 TLP_DEFAULT_MODE=AC
14
15 # Seconds laptop mode has to wait after the disk goes idle before doing a sync.
16 # Non-zero value enables, zero disables laptop mode.
17 DISK_IDLE_SECS_ON_AC=0
18 DISK_IDLE_SECS_ON_BAT=2
19
20 # Dirty page values (timeouts in secs).
21 MAX_LOST_WORK_SECS_ON_AC=15
22 MAX_LOST_WORK_SECS_ON_BAT=60
23
24 # Hint: CPU parameters below are disabled by default, remove the leading #
25 # to enable them, otherwise kernel default values are used.
26
27 # Select a CPU frequency scaling governor.
28 # Intel Core i processor with intel_pstate driver:
29 # powersave(*), performance
30 # Older hardware with acpi-cpufreq driver:
31 # ondemand(*), powersave, performance, conservative
32 # (*) is recommended.
33 # Hint: use tlp-stat -p to show the active driver and available governors.
34 # Important:
35 # You *must* disable your distribution's governor settings or conflicts will
36 # occur. ondemand is sufficient for *almost all* workloads, you should know
37 # what you're doing!
38 #CPU_SCALING_GOVERNOR_ON_AC=powersave
39 #CPU_SCALING_GOVERNOR_ON_BAT=powersave
40
41 # Set the min/max frequency available for the scaling governor.
42 # Possible values strongly depend on your CPU. For available frequencies see
43 # the output of tlp-stat -p.
44 #CPU_SCALING_MIN_FREQ_ON_AC=0
45 #CPU_SCALING_MAX_FREQ_ON_AC=0
46 #CPU_SCALING_MIN_FREQ_ON_BAT=0
47 #CPU_SCALING_MAX_FREQ_ON_BAT=0
48
49 # Set Intel P-state performance: 0..100 (%)
50 # Limit the max/min P-state to control the power dissipation of the CPU.
51 # Values are stated as a percentage of the available performance.
52 # Requires an Intel Core i processor with intel_pstate driver.
53 #CPU_MIN_PERF_ON_AC=0
54 #CPU_MAX_PERF_ON_AC=100
55 #CPU_MIN_PERF_ON_BAT=0
56 #CPU_MAX_PERF_ON_BAT=30
57
58 # Set the CPU "turbo boost" feature: 0=disable, 1=allow
59 # Requires an Intel Core i processor.
60 # Important:
61 # - This may conflict with your distribution's governor settings
62 # - A value of 1 does *not* activate boosting, it just allows it
63 #CPU_BOOST_ON_AC=1
64 #CPU_BOOST_ON_BAT=0
65
66 # Minimize number of used CPU cores/hyper-threads under light load conditions
67 SCHED_POWERSAVE_ON_AC=0
68 SCHED_POWERSAVE_ON_BAT=1
69
70 # Kernel NMI Watchdog:
71 # 0=disable (default, saves power), 1=enable (for kernel debugging only)
72 NMI_WATCHDOG=0
73
74 # Change CPU voltages aka "undervolting" - Kernel with PHC patch required
75 # Frequency voltage pairs are written to:
76 # /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
77 # CAUTION: only use this, if you thoroughly understand what you are doing!
78 #PHC_CONTROLS="F:V F:V F:V F:V"
79
80 # Set CPU performance versus energy savings policy:
81 # performance, normal, powersave
82 # Requires kernel module msr and x86_energy_perf_policy from linux-tools
83 ENERGY_PERF_POLICY_ON_AC=performance
84 ENERGY_PERF_POLICY_ON_BAT=powersave
85
86 # Hard disk devices; separate multiple devices with spaces (default: sda).
87 # Devices can be specified by disk ID also (lookup with: tlp diskid).
88 DISK_DEVICES="sda"
89
90 # Hard disk advanced power management level: 1..254, 255 (max saving, min, off)
91 # Levels 1..127 may spin down the disk; 255 allowable on most drives.
92 # Separate values for multiple disks with spaces. Use the special value 'keep'
93 # to keep the hardware default for the particular disk.
94 DISK_APM_LEVEL_ON_AC="254"
95 DISK_APM_LEVEL_ON_BAT="128"
96
97 # Hard disk spin down timeout:
98 # 0: spin down disabled
99 # 1..240: timeouts from 5s to 20min (in units of 5s)
100 # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
101 # See 'man hdparm' for details.
102 # Separate values for multiple disks with spaces. Use the special value 'keep'
103 # to keep the hardware default for the particular disk.
104 #DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
105 #DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
106
107 # Select IO scheduler for the disk devices: cfq, deadline, noop (Default: cfq);
108 # Separate values for multiple disks with spaces. Use the special value 'keep'
109 # to keep the kernel default scheduler for the particular disk.
110 #DISK_IOSCHED="cfq cfq"
111
112 # SATA aggressive link power management (ALPM):
113 # min_power, medium_power, max_performance
114 #SATA_LINKPWR_ON_AC=max_performance
115 #SATA_LINKPWR_ON_BAT=min_power
116
117 # Exclude SATA host devices from link power management.
118 # Separate multiple hosts with spaces.
119 #SATA_LINKPWR_BLACKLIST="host1"
120
121 # Runtime Power Management for AHCI controllers and disks:
122 # on=disable, auto=enable
123 # EXPERIMENTAL ** WARNING: auto will most likely cause system lockups/data loss
124 #AHCI_RUNTIME_PM_ON_AC=on
125 #AHCI_RUNTIME_PM_ON_BAT=on
126
127 # Seconds of inactivity before disk is suspended
128 AHCI_RUNTIME_PM_TIMEOUT=15
129
130 # PCI Express Active State Power Management (PCIe ASPM):
131 # default, performance, powersave
132 PCIE_ASPM_ON_AC=performance
133 PCIE_ASPM_ON_BAT=powersave
134
135 # Radeon graphics clock speed (profile method): low, mid, high, auto, default;
136 # auto = mid on BAT, high on AC; default = use hardware defaults.
137 # (Kernel >= 2.6.35 only, open-source radeon driver explicitly)
138 #RADEON_POWER_PROFILE_ON_AC=high
139 #RADEON_POWER_PROFILE_ON_BAT=low
140
141 # Radeon dynamic power management method (DPM): battery, performance
142 # (Kernel >= 3.11 only, requires boot option radeon.dpm=1)
143 #RADEON_DPM_STATE_ON_AC=performance
144 #RADEON_DPM_STATE_ON_BAT=battery
145
146 # Radeon DPM performance level: auto, low, high; auto is recommended.
147 #RADEON_DPM_PERF_LEVEL_ON_AC=auto
148 #RADEON_DPM_PERF_LEVEL_ON_BAT=auto
149
150 # WiFi power saving mode: on=enable, off=disable; not supported by all adapters.
151 WIFI_PWR_ON_AC=off
152 WIFI_PWR_ON_BAT=on
153
154 # Disable wake on LAN: Y/N
155 WOL_DISABLE=Y
156
157 # Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
158 # A value of 0 disables, >=1 enables power save.
159 SOUND_POWER_SAVE_ON_AC=0
160 SOUND_POWER_SAVE_ON_BAT=1
161
162 # Disable controller too (HDA only): Y/N
163 SOUND_POWER_SAVE_CONTROLLER=N
164
165 # Set to 1 to power off optical drive in UltraBay/MediaBay when running on
166 # battery. A value of 0 disables this feature (Default).
167 # Drive can be powered on again by releasing (and reinserting) the eject lever
168 # or by pressing the disc eject button on newer models.
169 # Note: an UltraBay/MediaBay hard disk is never powered off.
170 #BAY_POWEROFF_ON_BAT=0
171 # Optical drive device to power off (default sr0).
172 #BAY_DEVICE="sr0"
173
174 # Runtime Power Management for PCI(e) bus devices: on=disable, auto=enable
175 RUNTIME_PM_ON_AC=on
176 RUNTIME_PM_ON_BAT=auto
177
178 # Runtime PM for *all* PCI(e) bus devices, except blacklisted ones:
179 # 0=disable, 1=enable
180 RUNTIME_PM_ALL=1
181
182 # Exclude PCI(e) device adresses the following list from Runtime PM
183 # (separate with spaces). Use lspci to get the adresses (1st column).
184 #RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"
185
186 # Exclude PCI(e) devices assigned to the listed drivers from Runtime PM
187 # (should prevent accidential power on of hybrid graphics' discrete part).
188 # Default is "radeon nouveau"; use "" to disable the feature completely.
189 # Separate multiple drivers with spaces.
190 RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
191
192 # Set to 0 to disable, 1 to enable USB autosuspend feature.
193 USB_AUTOSUSPEND=1
194
195 # Exclude listed devices from USB autosuspend (separate with spaces).
196 # Use lsusb to get the ids.
197 # Note: input devices (usbhid) are excluded automatically (see below)
198 #USB_BLACKLIST="1111:2222 3333:4444"
199
200 # WWAN devices are excluded from USB autosuspend: 0=do not exclude / 1=exclude
201 #USB_BLACKLIST_WWAN=1
202
203 # Include listed devices into USB autosuspend even if already excluded
204 # by the driver or WWAN blacklists above (separate with spaces).
205 # Use lsusb to get the ids.
206 #USB_WHITELIST="1111:2222 3333:4444"
207
208 # Set to 1 to disable autosuspend before shutdown, 0 to do nothing
209 # (workaround for USB devices that cause shutdown problems).
210 #USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
211
212 # Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown
213 # on system startup: 0=disable, 1=enable.
214 # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
215 # are ignored when this is enabled!
216 RESTORE_DEVICE_STATE_ON_STARTUP=0
217
218 # Radio devices to disable on startup: bluetooth, wifi, wwan.
219 # Separate multiple devices with spaces.
220 #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
221
222 # Radio devices to enable on startup: bluetooth, wifi, wwan.
223 # Separate multiple devices with spaces.
224 #DEVICES_TO_ENABLE_ON_STARTUP="wifi"
225
226 # Radio devices to disable on shutdown: bluetooth, wifi, wwan
227 # (workaround for devices that are blocking shutdown).
228 #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
229
230 # Radio devices to enable on shutdown: bluetooth, wifi, wwan
231 # (to prevent other operating systems from missing radios).
232 #DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
233
234 # Radio devices to enable on AC: bluetooth, wifi, wwan
235 #DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"
236
237 # Radio devices to disable on battery: bluetooth, wifi, wwan
238 #DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"
239
240 # Radio devices to disable on battery when not in use (not connected):
241 # bluetooth, wifi, wwan
242 #DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"
243
244 # Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
245 # required). Charging starts when the remaining capacity falls below the
246 # START_CHARGE_THRESH value and stops when exceeding the STOP_CHARGE_THRESH value.
247 # Main / Internal battery (values in %)
248 #START_CHARGE_THRESH_BAT0=75
249 #STOP_CHARGE_THRESH_BAT0=80
250 # Ultrabay / Slice / Replaceable battery (values in %)
251 #START_CHARGE_THRESH_BAT1=75
252 #STOP_CHARGE_THRESH_BAT1=80
253
254 # ------------------------------------------------------------------------------
255 # tlp-rdw - Parameters for the radio device wizard
256 # Possible devices: bluetooth, wifi, wwan
257
258 # Hints:
259 # - Parameters are disabled by default, remove the leading # to enable them.
260 # - Separate multiple radio devices with spaces.
261
262 # Radio devices to disable on connect.
263 #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
264 #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
265 #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
266
267 # Radio devices to enable on disconnect.
268 #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
269 #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
270 #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
271
272 # Radio devices to enable/disable when docked.
273 #DEVICES_TO_ENABLE_ON_DOCK=""
274 #DEVICES_TO_DISABLE_ON_DOCK=""
275
276 # Radio devices to enable/disable when undocked.
277 #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
278 #DEVICES_TO_DISABLE_ON_UNDOCK=""