Guest User

Untitled

a guest
Feb 1st, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.20 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=30
  16. MAX_LOST_WORK_SECS_ON_BAT=120
  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=ondemand
  23. #CPU_SCALING_GOVERNOR_ON_BAT=ondemand
  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=800000
  31. CPU_SCALING_MAX_FREQ_ON_AC=2401000
  32. CPU_SCALING_MIN_FREQ_ON_BAT=800000
  33. CPU_SCALING_MAX_FREQ_ON_BAT=2400000
  34.  
  35. # Minimize number of used cpu cores/hyper-threads under light load conditions
  36. SCHED_POWERSAVE_ON_AC=1
  37. SCHED_POWERSAVE_ON_BAT=1
  38.  
  39. # Kernel NMI Watchdog
  40. # 0=disable (default, saves power) / 1=enable (for kernel debugging only)
  41. NMI_WATCHDOG=0
  42.        
  43. # Change CPU voltages aka "undervolting" - Kernel with PHC patch required
  44. # Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
  45. # CAUTION: only use this, if you thoroughly understand what you are doing!
  46. #PHC_CONTROLS="F:V F:V F:V F:V"
  47. #PHC Original="73:39 9:34 6:23 134:17"
  48. #PHC_CONTROLS="F:V F:V F:V F:V"
  49. #Working:   PHC_CONTROLS="73:33 9:27 6:18 134:17"
  50. #Bissl Unstable PHC_CONTROLS="73:28 9:23 6:13 134:13"
  51. PHC_CONTROLS="73:30 9:25 6:16 134:15"
  52.  
  53.  
  54. # Hard disk devices, separate multiple devices with spaces (default: sda).
  55. # Devices can be specified by disk id too (lookup with: tlp diskid).
  56. # DISK_DEVICES="sda"
  57.  
  58. # Hard disk advanced power management level: 1(max saving)..254(off)
  59. # Levels 1..127 spin down the disk.
  60. # Separate values for multiple devices with spaces.
  61. DISK_APM_LEVEL_ON_AC="254 254"
  62. DISK_APM_LEVEL_ON_BAT="128 128"
  63.  
  64. # Hard disk spin down timeout:
  65. # 0:        spin down disabled
  66. # 1..240:   timeouts from 5s to 20min (in units of 5s)
  67. # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
  68. # (see 'man hdparm' for details)
  69. #DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
  70. #DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
  71.  
  72. # Select i/o scheduler for the disk devices - possible values are
  73. #   noop anticipatory deadline cfq (Default: cfq)
  74. # Separate values for multiple devices with spaces.
  75. DISK_IOSCHED="deadline"
  76.  
  77. # SATA aggressive link power management (ALPM):
  78. # min_power/medium_power/max_performance
  79. SATA_LINKPWR_ON_AC=max_performance
  80. SATA_LINKPWR_ON_BAT=min_power
  81.  
  82. # PCI Express Active State Power Management (PCIe ASPM):
  83. # default/performance/powersave
  84. # Hint: needs kernel boot option pcie_aspm=force on some machines
  85. PCIE_ASPM_ON_AC=performance
  86. PCIE_ASPM_ON_BAT=powersave
  87.  
  88. # Radeon graphics clock speed (profile method): low/mid/high/auto/default
  89. # auto = mid on BAT, high on AC; default = use hardware defaults
  90. # (Kernel >= 2.6.35 only, not with fglrx driver!)
  91. RADEON_POWER_PROFILE_ON_AC=high
  92. RADEON_POWER_PROFILE_ON_BAT=low
  93.  
  94. # WiFi power saving mode: 1=disable/5=enable
  95. # (Kernel >= 2.6.32, some adapters only!)
  96. WIFI_PWR_ON_AC=5
  97. WIFI_PWR_ON_BAT=5
  98.  
  99. # Disable wake on lan: Y/N
  100. WOL_DISABLE=Y
  101.  
  102. # Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
  103. # A value of 0 disables / >=1 enables power save.
  104. SOUND_POWER_SAVE=1
  105. # Disable controller too (HDA only): Y/N
  106. SOUND_POWER_SAVE_CONTROLLER=Y
  107.  
  108. # Set to 1 to power off optical drive in UltraBay (ThinkPads only)
  109. # when running on battery. A value of 0 disables this Feature (Default).
  110. # Drive can be powered on again by releasing (and reinserting) the
  111. # eject lever or by pressing the disc eject button on newer models.
  112. # Note: an UltraBay hard disk is never powered off.
  113. BAY_POWEROFF_ON_BAT=0
  114. # Optical drive device to power off (default sr0)
  115. BAY_DEVICE="sr0"
  116.  
  117. # Runtime Power Management for pci(e) bus devices
  118. # (Kernel >= 2.6.35 only): on=disable/auto=enable
  119. RUNTIME_PM_ON_AC=auto
  120. RUNTIME_PM_ON_BAT=auto
  121.  
  122. # Set to 0 to disable/1 to enable usb autosuspend feature
  123. USB_AUTOSUSPEND=1
  124.  
  125. # Devices from the following list are excluded from usb autosuspend
  126. # (separate with spaces). Use lsusb to get the id's.
  127. # Note: input devices (usbhid) are excluded automatically
  128. #USB_BLACKLIST="1111:2222 3333:4444"
  129.  
  130. # Set to 1 to disable autosuspend before shutdown/0 to do nothing
  131. # (workaround for usb devices that cause shutdown problems)
  132. #USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1
  133.  
  134. # Restore radio device state (bluetooth, wifi, wwan) from previous shutdown
  135. # on system startup: 0=disable/1=enable
  136. # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
  137. #       are ignored when this is enabled!
  138. RESTORE_DEVICE_STATE_ON_STARTUP=0
  139.  
  140. # Radio devices to disable on startup: bluetooth wifi wwan
  141. #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
  142. DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
  143.  
  144. # Radio devices to enable on startup: bluetooth wifi wwan
  145. #DEVICES_TO_ENABLE_ON_STARTUP="wifi"
  146.  
  147. # Radio devices to disable on shutdown: bluetooth wifi wwan
  148. # (workaround for devices that are blocking shutdown)
  149. #DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
  150.  
  151. # Radio devices to enable on shutdown: bluetooth wifi wwan
  152. # (to prevent other operating systems from missing radios)
  153. #DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"
  154.  
  155. # Battery charge thresholds (ThinkPad only, tp-smapi kernel module required)
  156. # Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
  157. # value and stops when exceeding the STOP_CHARGE_TRESH value.
  158. # Main battery (values in %)
  159. START_CHARGE_THRESH_BAT0=70
  160. STOP_CHARGE_THRESH_BAT0=80
  161. # Ultrabay battery (values in %)
  162. #START_CHARGE_THRESH_BAT1=75
  163. #STOP_CHARGE_THRESH_BAT1=80
  164.  
  165. # Set to 1 to disable use of tpacpi-bat on Sandy Bridge Thinkpad models
  166. # and force usage of tp-smapi instead
  167. #DISABLE_TPACPIBAT=1
  168.  
  169. # ------------------------------------------------------------------------------
  170. # tlp-rdw - Parameters for the radio device wizard
  171. # Possible devices: bluetooth/wifi/wwan
  172.  
  173. # Hint: parameters are disabled by default, remove the leading # to enable them
  174.  
  175. # Radio devices to disable on connect
  176. #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
  177. #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
  178. #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
  179.  
  180. # Radio devices to enable on disconnect
  181. #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
  182. #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
  183. #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
  184.  
  185. # Radio devices to enable/disable when docked
  186. #DEVICES_TO_ENABLE_ON_DOCK=""
  187. #DEVICES_TO_DISABLE_ON_DOCK=""
  188.  
  189. # Radio devices to enable/disable when undocked
  190. #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
  191. #DEVICES_TO_DISABLE_ON_UNDOCK=""
Advertisement
Add Comment
Please, Sign In to add comment