123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- # ------------------------------------------------------------------------------
- # /etc/tlp.conf - TLP user configuration (version 1.4)
- # See full explanation: https://linrunner.de/tlp/settings
- #
- # Settings are read in the following order:
- #
- # 1. Intrinsic defaults
- # 2. /etc/tlp.d/*.conf - Drop-in customization snippets
- # 3. /etc/tlp.conf - User configuration (this file)
- #
- # Notes:
- # - In case of identical parameters, the last occurence has precedence
- # - This also means, parameters enabled here will override anything else
- # - However you may append values to a parameter already defined as intrinsic
- # default or in a previously read file: use PARAMETER+="add values"
- # - IMPORTANT: all parameters here are disabled; remove the leading '#' if you
- # like to enable a feature without default or have a value different from the
- # default
- # - Default *: intrinsic default that is effective when the parameter is missing
- # or disabled by a leading '#'; use PARAM="" to disable an intrinsic default
- # - Default <none>: do nothing or use kernel/hardware defaults
- # -
- # ------------------------------------------------------------------------------
- # tlp - Parameters for power saving
- # Set to 0 to disable, 1 to enable TLP.
- TLP_ENABLE=1
- # Operation mode when no power supply can be detected: AC, BAT.
- # Concerns some desktop and embedded hardware only.
- TLP_DEFAULT_MODE=AC
- # Operation mode select: 0=depend on power source, 1=always use TLP_DEFAULT_MODE
- # Note: use in conjunction with TLP_DEFAULT_MODE=BAT for BAT settings on AC.
- TLP_PERSISTENT_DEFAULT=0
- # Select a CPU frequency scaling governor.
- # Intel processor with intel_pstate driver:
- # performance, powersave(*).
- # Intel processor with intel_cpufreq driver (aka intel_pstate passive mode):
- # conservative, ondemand, userspace, powersave, performance, schedutil(*).
- # Intel and other processor brands with acpi-cpufreq driver:
- # conservative, ondemand(*), userspace, powersave, performance, schedutil(*).
- # Use tlp-stat -p to show the active driver and available governors.
- # Important:
- # Governors marked (*) above are power efficient for *almost all* workloads
- # and therefore kernel and most distributions have chosen them as defaults.
- # You should have done your research about advantages/disadvantages *before*
- # changing the governor.
- CPU_SCALING_GOVERNOR_ON_AC=performance
- CPU_SCALING_GOVERNOR_ON_BAT=powersave
- # Set the min/max frequency available for the scaling governor.
- # Possible values depend on your CPU. For available frequencies see
- # the output of tlp-stat -p.
- # Notes:
- # - Min/max frequencies must always be specified for both AC *and* BAT
- # - Not recommended for use with the intel_pstate scaling driver, use
- # CPU_MIN/MAX_PERF_ON_AC/BAT below instead
- # Default: <none>
- #CPU_SCALING_MIN_FREQ_ON_AC=0
- #CPU_SCALING_MAX_FREQ_ON_AC=0
- #CPU_SCALING_MIN_FREQ_ON_BAT=0
- #CPU_SCALING_MAX_FREQ_ON_BAT=0
- # Set Intel CPU energy/performance policies HWP.EPP and EPB:
- # performance, balance_performance, default, balance_power, power.
- # Values are given in order of increasing power saving.
- # Notes:
- # - HWP.EPP: requires kernel 4.10, intel_pstate scaling driver and Intel Core i
- # 6th gen. or newer CPU
- # - EPB: requires kernel 5.2 or module msr and x86_energy_perf_policy from
- # linux-tools, intel_pstate or intel_cpufreq scaling driver and Intel Core i
- # 2nd gen. or newer CPU
- # - When HWP.EPP is available, EPB is not set
- # Default: balance_performance (AC), balance_power (BAT)
- #CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance
- #CPU_ENERGY_PERF_POLICY_ON_BAT=balance_power
- # Set Intel CPU P-state performance: 0..100 (%).
- # Limit the max/min P-state to control the power dissipation of the CPU.
- # Values are stated as a percentage of the available performance.
- # Requires intel_pstate or intel_cpufreq driver and Intel Core i 2nd gen. or
- # newer CPU.
- # Default: <none>
- CPU_MAX_PERF_ON_AC=100
- CPU_MAX_PERF_ON_BAT=90
- CPU_MIN_PERF_ON_AC=0
- CPU_MIN_PERF_ON_BAT=0
- # Set the CPU "turbo boost" (Intel) or "turbo core" (AMD) feature:
- # 0=disable, 1=allow.
- # Note: a value of 1 does *not* activate boosting, it just allows it.
- CPU_BOOST_ON_AC=1
- CPU_BOOST_ON_BAT=0
- # Set the Intel CPU HWP dynamic boost feature:
- # 0=disable, 1=enable.
- # Requires intel_pstate scaling driver in 'active' mode and Intel Core i
- # 6th gen. or newer CPU.
- CPU_HWP_DYN_BOOST_ON_AC=1
- CPU_HWP_DYN_BOOST_ON_BAT=0
- # Minimize number of used CPU cores/hyper-threads under light load conditions:
- # 0=disable, 1=enable.
- SCHED_POWERSAVE_ON_AC=0
- SCHED_POWERSAVE_ON_BAT=1
- # Kernel NMI Watchdog:
- # 0=disable (default, saves power), 1=enable (for kernel debugging only).
- # Default: 0
- #NMI_WATCHDOG=0
- # Select platform profile:
- # performance, balanced, low-power.
- # Controls system operating characteristics around power/performance levels,
- # thermal and fan speed. Values are given in order of increasing power saving.
- # Note: check the output of tlp-stat -p to determine availability on your
- # hardware and additional profiles such as: balanced-performance, quiet, cool.
- PLATFORM_PROFILE_ON_AC=balanced_performance
- PLATFORM_PROFILE_ON_BAT=balance_power
- # Hard disk spin down timeout:
- # 0: spin down disabled
- # 1..240: timeouts from 5s to 20min (in units of 5s)
- # 241..251: timeouts from 30min to 5.5 hours (in units of 30min)
- # See 'man hdparm' for details.
- # Separate values for multiple disks with spaces. Use the special value 'keep'
- # to keep the hardware default for the particular disk.
- DISK_SPINDOWN_TIMEOUT_ON_AC="keep"
- DISK_SPINDOWN_TIMEOUT_ON_BAT="keep"
- # Wi-Fi power saving mode: on=enable, off=disable.
- WIFI_PWR_ON_AC=off
- WIFI_PWR_ON_BAT=off
- # Disable Wake-on-LAN: Y/N.
- # Default: Y
- #WOL_DISABLE=Y
- # Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
- # A value of 0 disables, >= 1 enables power saving.
- # Note: 1 is recommended for Linux desktop environments with PulseAudio,
- # systems without PulseAudio may require 10.
- SOUND_POWER_SAVE_ON_AC=0
- SOUND_POWER_SAVE_ON_BAT=10
- # Disable controller too (HDA only): Y/N.
- # Note: effective only when SOUND_POWER_SAVE_ON_AC/BAT is activated.
- # Default: Y
- #SOUND_POWER_SAVE_CONTROLLER=Y
- # PCIe Active State Power Management (ASPM):
- # default(*), performance, powersave, powersupersave.
- # (*) keeps BIOS ASPM defaults (recommended)
- # Default: <none>
- # Set to 0 to disable, 1 to enable USB autosuspend feature.
- USB_AUTOSUSPEND=1
- # Exclude audio devices from USB autosuspend:
- # 0=do not exclude, 1=exclude.
- USB_EXCLUDE_AUDIO=1
- # Exclude bluetooth devices from USB autosuspend:
- # 0=do not exclude, 1=exclude.
- # Default: 0
- #USB_EXCLUDE_BTUSB=0
- # Exclude phone devices from USB autosuspend:
- # 0=do not exclude, 1=exclude (enable charging).
- USB_EXCLUDE_PHONE=0
- # Exclude printers from USB autosuspend:
- # 0=do not exclude, 1=exclude.
- #USB_EXCLUDE_PRINTER=1
- # Exclude WWAN devices from USB autosuspend:
- # 0=do not exclude, 1=exclude.
- #USB_EXCLUDE_WWAN=0
- # Radio devices to disable on startup: bluetooth, nfc, wifi, wwan.
- # Separate multiple devices with spaces.
- DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
- # Battery Care -- Charge thresholds
- # Charging starts when the charge level is below the START_CHARGE_THRESH value
- # when the charger is connected. It stops when the STOP_CHARGE_THRESH value is
- # reached.
- # Required hardware: Lenovo ThinkPads and select other laptop brands are driven
- # via specific plugins, the actual support status is shown by tlp-stat -b.
- # For more explanations and vendor specific details refer to
- # https://linrunner.de/tlp/settings/battery.html
- # Notes:
- # - ThinkPads may require external kernel module(s), refer to the output of
- # tlp-stat -b
- # - Vendor specific parameter value ranges are shown by tlp-stat -b
- # - If your hardware supports a start *and* a stop threshold, you must
- # specify both, otherwise TLP will refuse to apply the single threshold
- # - If your hardware supports only a stop threshold, set the start value to 0
- START_CHARGE_THRESH_BAT0=50
- STOP_CHARGE_THRESH_BAT0=1
- # Restore charge thresholds when AC is unplugged: 0=disable, 1=enable.
- RESTORE_THRESHOLDS_ON_BAT="1"
- # Control battery care drivers: 0=disable, 1=enable.
- NATACPI_ENABLE=1
- TPACPI_ENABLE=1
- TPSMAPI_ENABLE=1
- # ------------------------------------------------------------------------------
- # tlp-rdw - Parameters for the radio device wizard
- # Possible devices: bluetooth, wifi, wwan.
- # Separate multiple radio devices with spaces.
- # Default: <none> (for all parameters below)
- # Radio devices to disable on connect.
- #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
- #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
- #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
- # Radio devices to enable on disconnect.
- #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
- #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
- #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
- # Radio devices to enable/disable when docked.
- #DEVICES_TO_ENABLE_ON_DOCK=""
- #DEVICES_TO_DISABLE_ON_DOCK=""
- # Radio devices to enable/disable when undocked.
- #DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
- #DEVICES_TO_DISABLE_ON_UNDOCK=""
|