Advertisement
Guest User

/etc/default/tlp

a guest
Jan 4th, 2015
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.90 KB | None | 0 0
  1. # ------------------------------------------------------------------------------
  2. # tlp - Parameters for power save
  3.  
  4. # Hint: some features are disabled by default, remove the leading # to enable them
  5.  
  6. # Set to 0 to disable/1 to enable TLP
  7. TLP_ENABLE=1
  8.  
  9. # Seconds laptop mode has to to wait after the disk goes idle before doing a sync.
  10. # Non-zero value enables, zero disables laptop mode.
  11. DISK_IDLE_SECS_ON_AC=0
  12. DISK_IDLE_SECS_ON_BAT=2
  13.  
  14. # Dirty page values (timeouts in secs).
  15. MAX_LOST_WORK_SECS_ON_AC=15
  16. MAX_LOST_WORK_SECS_ON_BAT=60
  17.  
  18. # Select a cpu frequency scaling governor: ondemand/powersave/performance/conservative
  19. # Intel Core i processor with intel_pstate driver: powersave/performance
  20. # Important:
  21. # - You *must* disable your distribution's governor settings or conflicts will occur
  22. # - ondemand is sufficient for *almost all* workloads, you should know what you're doing!
  23. CPU_SCALING_GOVERNOR_ON_AC=conservative
  24. CPU_SCALING_GOVERNOR_ON_BAT=powersave
  25.  
  26. # Set the min/max frequency available for the scaling governor.
  27. # Possible values strongly depend on your cpu. For available frequencies see
  28. # tlp-stat output, Section "+++ Processor".
  29. # Hint: Parameters are disabled by default, remove the leading # to enable them,
  30. # otherwise kernel default values are used.
  31. #CPU_SCALING_MIN_FREQ_ON_AC=0
  32. #CPU_SCALING_MAX_FREQ_ON_AC=0
  33. #CPU_SCALING_MIN_FREQ_ON_BAT=0
  34. #CPU_SCALING_MAX_FREQ_ON_BAT=0
  35.  
  36. # Set the cpu "turbo boost" feature: 0=disable / 1=allow
  37. # Requires an Intel Core i processor and kernel 3.7 or later.
  38. # Important:
  39. # - This may conflict with your distribution's governor settings
  40. # - A value of 1 does *not* activate boosting, it just allows it
  41. #CPU_BOOST_ON_AC=1
  42. #CPU_BOOST_ON_BAT=0
  43.  
  44. # Minimize number of used cpu cores/hyper-threads under light load conditions
  45. SCHED_POWERSAVE_ON_AC=0
  46. SCHED_POWERSAVE_ON_BAT=1
  47.  
  48. # Kernel NMI Watchdog
  49. # 0=disable (default, saves power) / 1=enable (for kernel debugging only)
  50. NMI_WATCHDOG=0
  51.  
  52. # Change CPU voltages aka "undervolting" - Kernel with PHC patch required
  53. # Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
  54. # CAUTION: only use this, if you thoroughly understand what you are doing!
  55. #PHC_CONTROLS="F:V F:V F:V F:V"
  56.  
  57. # Hard disk devices, separate multiple devices with spaces (default: sda).
  58. # Devices can be specified by disk id too (lookup with: tlp diskid).
  59. DISK_DEVICES="sda"
  60.  
  61. # Hard disk advanced power management level: 1(max saving)..254(off)
  62. # Levels 1..127 may spin down the disk.
  63. # Separate values for multiple devices with spaces.
  64. DISK_APM_LEVEL_ON_AC="254 254"
  65. DISK_APM_LEVEL_ON_BAT="128 128"
  66.  
  67. # Hard disk spin down timeout:
  68. # 0: spin down disabled
  69. # 1..240: timeouts from 5s to 20min (in units of 5s)
  70. # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
  71. # (see 'man hdparm' for details)
  72. #DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
  73. #DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
  74.  
  75. # Select io scheduler for the disk devices: noop/deadline/cfq (Default: cfq)
  76. # Separate values for multiple devices with spaces.
  77. #DISK_IOSCHED="cfq cfq"
  78.  
  79. # SATA aggressive link power management (ALPM):
  80. # min_power/medium_power/max_performance
  81. SATA_LINKPWR_ON_AC=max_performance
  82. SATA_LINKPWR_ON_BAT=min_power
  83.  
  84. # PCI Express Active State Power Management (PCIe ASPM):
  85. # default/performance/powersave
  86. PCIE_ASPM_ON_AC=performance
  87. PCIE_ASPM_ON_BAT=powersave
  88.  
  89. # Radeon graphics clock speed (profile method): low/mid/high/auto/default
  90. # auto = mid on BAT, high on AC; default = use hardware defaults
  91. # (Kernel >= 2.6.35 only, not with fglrx driver!)
  92. RADEON_POWER_PROFILE_ON_AC=default
  93. RADEON_POWER_PROFILE_ON_BAT=default
  94.  
  95. # New radeon dynamic power management method (dpm): battery/performance
  96. # (Kernel >= 3.11 only, requires boot option radeon.dpm=1)
  97. RADEON_DPM_STATE_ON_AC=performance
  98. RADEON_DPM_STATE_ON_BAT=battery
  99.  
  100. # New radeon dpm performance level: auto/low/high (auto is recommended)
  101. RADEON_DPM_PERF_LEVEL_ON_AC=auto
  102. RADEON_DPM_PERF_LEVEL_ON_BAT=auto
  103.  
  104. # WiFi power saving mode: 1=disable/5=enable
  105. # (Linux 2.6.32 and later, some adapters only!)
  106. WIFI_PWR_ON_AC=1
  107. WIFI_PWR_ON_BAT=5
  108.  
  109. # Disable wake on lan: Y/N
  110. WOL_DISABLE=Y
  111.  
  112. # Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
  113. # A value of 0 disables / >=1 enables power save.
  114. SOUND_POWER_SAVE_ON_AC=0
  115. SOUND_POWER_SAVE_ON_BAT=1
  116.  
  117. # Disable controller too (HDA only): Y/N
  118. SOUND_POWER_SAVE_CONTROLLER=Y
  119.  
  120. # Set to 1 to power off optical drive in UltraBay/MediaBay when running
  121. # on battery. A value of 0 disables this Feature (Default).
  122. # Drive can be powered on again by releasing (and reinserting) the
  123. # eject lever or by pressing the disc eject button on newer models.
  124. # Note: an UltraBay/MediaBay hard disk is never powered off.
  125. BAY_POWEROFF_ON_BAT=0
  126. # Optical drive device to power off (default sr0)
  127. BAY_DEVICE="sr0"
  128.  
  129. # Runtime Power Management for pci(e) bus devices
  130. # (Kernel >= 2.6.35 only): on=disable/auto=enable
  131. RUNTIME_PM_ON_AC=on
  132. RUNTIME_PM_ON_BAT=auto
  133.  
  134. # Runtime PM for *all* pci(e) bus devices, except blacklisted ones:
  135. # 0=disable / 1=enable
  136. RUNTIME_PM_ALL=1
  137.  
  138. # Exclude pci(e) device adresses the following list from Runtime PM
  139. # (separate with spaces). Use lspci to get the adresses (1st column).
  140. #RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"
  141.  
  142. # Set to 0 to disable/1 to enable usb autosuspend feature
  143. USB_AUTOSUSPEND=1
  144.  
  145. # Devices from the following list are excluded from usb autosuspend
  146. # (separate with spaces). Use lsusb to get the ids.
  147. # Note: input devices (usbhid) are excluded automatically
  148. #USB_BLACKLIST="1111:2222 3333:4444"
  149.  
  150. # WWAN devices are excluded from usb autosuspend:
  151. # 0=do not exclude / 1=exclude
  152. # Note: works for ids 05c6:* 0bdb:* 1199:* only
  153. USB_BLACKLIST_WWAN=1
  154.  
  155. # Set to 1 to disable autosuspend before shutdown/0 to do nothing
  156. # (workaround for usb devices that cause shutdown problems)
  157. #USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
  158.  
  159. # Restore radio device state (bluetooth, wifi, wwan) from previous shutdown
  160. # on system startup: 0=disable/1=enable
  161. # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
  162. # are ignored when this is enabled!
  163. RESTORE_DEVICE_STATE_ON_STARTUP=0
  164.  
  165. # Radio devices to disable on startup: bluetooth wifi wwan
  166. #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
  167.  
  168. # Radio devices to enable on startup: bluetooth wifi wwan
  169. #DEVICES_TO_ENABLE_ON_STARTUP="wifi"
  170.  
  171. # Radio devices to disable on shutdown: bluetooth wifi wwan
  172. # (workaround for devices that are blocking shutdown)
  173. #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
  174.  
  175. # Radio devices to enable on shutdown: bluetooth wifi wwan
  176. # (to prevent other operating systems from missing radios)
  177. #DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
  178.  
  179. # Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module required)
  180. # Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
  181. # value and stops when exceeding the STOP_CHARGE_TRESH value.
  182. # Main battery (values in %)
  183. #START_CHARGE_THRESH_BAT0=75
  184. #STOP_CHARGE_THRESH_BAT0=80
  185. # Ultrabay or slice battery (values in %)
  186. #START_CHARGE_THRESH_BAT1=75
  187. #STOP_CHARGE_THRESH_BAT1=80
  188.  
  189. # ------------------------------------------------------------------------------
  190. # tlp-rdw - Parameters for the radio device wizard
  191. # Possible devices: bluetooth/wifi/wwan
  192.  
  193. # Hint: parameters are disabled by default, remove the leading # to enable them
  194.  
  195. # Radio devices to disable on connect
  196. #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
  197. #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
  198. #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
  199.  
  200. # Radio devices to enable on disconnect
  201. #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
  202. #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
  203. #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
  204.  
  205. # Radio devices to enable/disable when docked
  206. #DEVICES_TO_ENABLE_ON_DOCK=""
  207. #DEVICES_TO_DISABLE_ON_DOCK=""
  208.  
  209. # Radio devices to enable/disable when undocked
  210. #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
  211. #DEVICES_TO_DISABLE_ON_UNDOCK=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement