SHARE
TWEET

My TLP Config

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