Dinesh_Raja

tlp

Apr 5th, 2014
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.24 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. # Important:
  20. # - You *must* disable your distribution's governor settings or conflicts will occur
  21. # - ondemand is sufficient for *almost all* workloads, you should know what you're doing!
  22. CPU_SCALING_GOVERNOR_ON_AC=performance
  23. #CPU_SCALING_GOVERNOR_ON_BAT=powersave
  24.  
  25. # Set the min/max frequency available for the scaling governor.
  26. # Possible values strongly depend on your cpu. For available frequencies see
  27. # tlp-stat output, Section "+++ Processor".
  28. # Hint: Parameters are disabled by default, remove the leading # to enable them,
  29. # otherwise kernel default values are used.
  30. #CPU_SCALING_MIN_FREQ_ON_AC=0
  31. #CPU_SCALING_MAX_FREQ_ON_AC=0
  32. #CPU_SCALING_MIN_FREQ_ON_BAT=0
  33. #CPU_SCALING_MAX_FREQ_ON_BAT=0
  34.  
  35. # Set the cpu "turbo boost" feature: 0=disable / 1=allow
  36. # Requires an Intel Core i processor and kernel 3.7 or later.
  37. # Important:
  38. # - This may conflict with your distribution's governor settings
  39. # - A value of 1 does *not* activate boosting, it just allows it
  40. #CPU_BOOST_ON_AC=1
  41. #CPU_BOOST_ON_BAT=0
  42.  
  43. # Minimize number of used cpu cores/hyper-threads under light load conditions
  44. SCHED_POWERSAVE_ON_AC=0
  45. SCHED_POWERSAVE_ON_BAT=1
  46.  
  47. # Kernel NMI Watchdog
  48. # 0=disable (default, saves power) / 1=enable (for kernel debugging only)
  49. NMI_WATCHDOG=0
  50.  
  51. # Change CPU voltages aka "undervolting" - Kernel with PHC patch required
  52. # Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
  53. # CAUTION: only use this, if you thoroughly understand what you are doing!
  54. #PHC_CONTROLS="F:V F:V F:V F:V"
  55.  
  56. # Hard disk devices, separate multiple devices with spaces (default: sda).
  57. # Devices can be specified by disk id too (lookup with: tlp diskid).
  58. DISK_DEVICES="sda sdb"
  59.  
  60. # Hard disk advanced power management level: 1(max saving)..254(off)
  61. # Levels 1..127 may spin down the disk.
  62. # Separate values for multiple devices with spaces.
  63. DISK_APM_LEVEL_ON_AC="254 254"
  64. DISK_APM_LEVEL_ON_BAT="128 128"
  65.  
  66. # Hard disk spin down timeout:
  67. # 0: spin down disabled
  68. # 1..240: timeouts from 5s to 20min (in units of 5s)
  69. # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
  70. # (see 'man hdparm' for details)
  71. #DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
  72. #DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
  73.  
  74. # Select io scheduler for the disk devices: noop/deadline/cfq (Default: cfq)
  75. # Separate values for multiple devices with spaces.
  76. #DISK_IOSCHED="cfq cfq"
  77.  
  78. # SATA aggressive link power management (ALPM):
  79. # min_power/medium_power/max_performance
  80. SATA_LINKPWR_ON_AC=max_performance
  81. SATA_LINKPWR_ON_BAT=min_power
  82.  
  83. # PCI Express Active State Power Management (PCIe ASPM):
  84. # default/performance/powersave
  85. # Hint: needs kernel boot option pcie_aspm=force on some machines
  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=high
  93. RADEON_POWER_PROFILE_ON_BAT=low
  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 (ThinkPads only)
  121. # when running 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 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, expect backlisted ones:
  135. # 0=disable / 1=enable
  136. # Warning: experimental option, could cause system instabilities
  137. RUNTIME_PM_ALL=0
  138.  
  139. # Exclude pci(e) device adresses the following list from Runtime PM
  140. # (separate with spaces). Use lspci to get the adresses (1st column).
  141. #RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"
  142.  
  143. # Set to 0 to disable/1 to enable usb autosuspend feature
  144. USB_AUTOSUSPEND=0
  145.  
  146. # Devices from the following list are excluded from usb autosuspend
  147. # (separate with spaces). Use lsusb to get the ids.
  148. # Note: input devices (usbhid) are excluded automatically
  149. #USB_BLACKLIST="1111:2222 3333:4444"
  150.  
  151. # WWAN devices are excluded from usb autosuspend:
  152. # 0=do not exclude / 1=exclude
  153. # Note: works for ids 05c6:* 0bdb:* 1199:* only
  154. USB_BLACKLIST_WWAN=1
  155.  
  156. # Set to 1 to disable autosuspend before shutdown/0 to do nothing
  157. # (workaround for usb devices that cause shutdown problems)
  158. #USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
  159.  
  160. # Restore radio device state (bluetooth, wifi, wwan) from previous shutdown
  161. # on system startup: 0=disable/1=enable
  162. # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
  163. # are ignored when this is enabled!
  164. RESTORE_DEVICE_STATE_ON_STARTUP=0
  165.  
  166. # Radio devices to disable on startup: bluetooth wifi wwan
  167. #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
  168.  
  169. # Radio devices to enable on startup: bluetooth wifi wwan
  170. #DEVICES_TO_ENABLE_ON_STARTUP="wifi"
  171.  
  172. # Radio devices to disable on shutdown: bluetooth wifi wwan
  173. # (workaround for devices that are blocking shutdown)
  174. #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
  175.  
  176. # Radio devices to enable on shutdown: bluetooth wifi wwan
  177. # (to prevent other operating systems from missing radios)
  178. #DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
  179.  
  180. # Radio devices to enable when wireless radio switch is turned on:
  181. # bluetooth wifi wwan (Ubuntu + ThinkPad only)
  182. #DEVICES_TO_ENABLE_ON_RADIOSW="wifi wwan"
  183.  
  184. # Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module required)
  185. # Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
  186. # value and stops when exceeding the STOP_CHARGE_TRESH value.
  187. # Main battery (values in %)
  188. #START_CHARGE_THRESH_BAT0=75
  189. #STOP_CHARGE_THRESH_BAT0=80
  190. # Ultrabay or slice battery (values in %)
  191. #START_CHARGE_THRESH_BAT1=75
  192. #STOP_CHARGE_THRESH_BAT1=80
  193.  
  194. # Set to 1 to disable use of tpacpi-bat on Sandy Bridge or newer Thinkpads
  195. # and force usage of tp-smapi instead
  196. #DISABLE_TPACPIBAT=1
  197.  
  198. # ------------------------------------------------------------------------------
  199. # tlp-rdw - Parameters for the radio device wizard
  200. # Possible devices: bluetooth/wifi/wwan
  201.  
  202. # Hint: parameters are disabled by default, remove the leading # to enable them
  203.  
  204. # Radio devices to disable on connect
  205. #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
  206. #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
  207. #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
  208.  
  209. # Radio devices to enable on disconnect
  210. #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
  211. #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
  212. #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
  213.  
  214. # Radio devices to enable/disable when docked
  215. #DEVICES_TO_ENABLE_ON_DOCK=""
  216. #DEVICES_TO_DISABLE_ON_DOCK=""
  217.  
  218. # Radio devices to enable/disable when undocked
  219. #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
  220. #DEVICES_TO_DISABLE_ON_UNDOCK=""
Advertisement
Add Comment
Please, Sign In to add comment