Releases: linrunner/TLP
TLP 1.6.1
1.6.0
Feature Highlights:
Battery Care
- LG Gram laptops:
- Use standard sysfs attribute charge_control_end_threshold provided by kernel 5.18 and newer
- Restore threshold after hibernate
- System76 laptops with open source EC firmware: start and stop threshold
- ThinkPads: model detection adapted Libreboot (Issue #679)
- Toshiba/Dynabook laptops: stop threshold 80/100%
Configuration
- Allow comments (#) after parameters (Issue #598)
- tlp-stat -c/--cdiff: append a notice to deprecated or removed parameters
General
- MEM_SLEEP_ON_AC/BAT: change system suspend mode (deep, s2idle)
- Add ZSH command completion
- tlp-stat -s:
- Silence warnings about unmasked systemd-rfkill.service/.socket when DEVICES_TO_ENABLE/DISABLE_ON_STARTUP is actually unconfigured
- Show system suspend mode
PCI(e) devices
- RUNTIME_PM_ENABLE/DISABLE: apply even when RUNTIME_PM_ON_AC/BAT is disabled (Issue #614)
Processor
- CPU_DRIVER_OPMODE_ON_AC/BAT: set CPU scaling driver operation mode (active, guided, passive) for amd-pstate or intel_pstate driver
- CPU_ENERGY_PERF_POLICY_ON_AC/BAT: now supports AMD Zen 2 or newer CPUs (requires amd-pstate driver as of kernel 6.3)
- SCHED_POWERSAVE_ON_AC/BAT: removed (unavailable since kernel 3.5)
- tlp-stat -p:
- Show amd-pstate operation mode, dynamic boost and performance attributes
- Show min/max operating frequency the processor can run at (cpuinfo_min/max_freq) and limit imposed by the BIOS (bios_limit)
Radio Devices
- DEVICES_TO_ENABLE/DISABLE_ON_SHUTDOWN: deprecated - feature will be removed in TLP 1.7
USB
- USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN: deprecated - feature will be removed in TLP 1.7
Bugfixes:
Operation
- Deactivate AHCI_RUNTIME_PM and PCIE_ASPM before suspend to avoid resume freezes (Issue #593, #606, #698)
Processor
- Set governor although not listed in scaling_available_governors
See the full changelog for remaining features and bugfixes.
1.6.0-beta.1
Beta release
Features/Changes:
Battery Care
- LG Gram laptops:
- Use standard sysfs attribute charge_control_end_threshold provided by kernel 5.18 and newer
- Restore threshold after hibernate
- System76 laptops with open source EC firmware: start and stop threshold
- ThinkPads: model detection adapted for Libreboot (Issue #679)
- Toshiba/Dynabook laptops: stop threshold 80/100%
Configuration
- Allow comments (#) after parameters (Issue #598)
- tlp-stat -c/--cdiff: append a notice to deprecated or removed parameters
General
- MEM_SLEEP_ON_AC/BAT: change system suspend mode (deep, s2idle)
- Add ZSH command completion
- tlp-stat -s:
- Silence warnings about unmasked systemd-rfkill.service/.socket when DEVICES_TO_ENABLE/DISABLE_ON_STARTUP is actually unconfigured
- Show system suspend mode
PCI(e) devices
- RUNTIME_PM_ENABLE/DISABLE: apply even when RUNTIME_PM_ON_AC/BAT is disabled (Issue #614)
Processor
- CPU_DRIVER_OPMODE_ON_AC/BAT: set CPU scaling driver operation mode (active, guided, passive) for amd-pstate or intel_pstate driver
- CPU_ENERGY_PERF_POLICY_ON_AC/BAT: now supports AMD Zen 2 or newer CPUs (requires amd-pstate driver as of kernel 6.3)
- SCHED_POWERSAVE_ON_AC/BAT: removed (unavailable since kernel 3.5)
- tlp-stat -p:
- Show amd-pstate operation mode, dynamic boost and performance attributes
- Show min/max operating frequency the processor can run at (cpuinfo_min/max_freq) and limit imposed by the BIOS (bios_limit)
Radio Devices
- DEVICES_TO_ENABLE/DISABLE_ON_SHUTDOWN: deprecated - feature will be removed in TLP 1.7
USB
- USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN: deprecated - feature will be removed in TLP 1.7
Bugfixes:
Operation
- Deactivate AHCI_RUNTIME_PM and PCIE_ASPM before suspend to avoid resume freezes (Issue #593, #606, #698)
Processor
- Set governor although not listed in scaling_available_governors
See the full changelog for remaining features and bugfixes.
TLP 1.5.0
Features:
Battery Care
- Sony laptops: stop threshold 50/80/100% aka "battery care limiter"
- ThinkPads:
- Use new sysfs attribute charge_behaviour for recalibration - in preparation for kernel patches not yet merged into the mainline kernel; this will make the external kernel module acpi_call obsolete
- Support T400 running Coreboot via natacpi
Radio Devices
- Support for switching NFC devices (new command
nfc on|off
)
See the full changelog for bugfixes.
TLP 1.5.0-beta.1
Beta Release
Features:
Battery Care
- Sony laptops: stop threshold 50/80/100% aka "battery care limiter"
- ThinkPads:
- Use new sysfs attribute charge_behaviour for recalibration - in preparation for kernel patches not yet merged into the mainline kernel; this will make the external kernel module acpi_call obsolete
- Support T400 running Coreboot via natacpi
Radio Devices
- Support for switching NFC devices (new command
nfc on|off
)
See the full changelog for bugfixes.
Available packages are listed on the download page.
TLP 1.4.0
Feature Highlights:
Audio
- SOUND_POWER_SAVE_ON_AC: change default to enabled (Issue #495)
Battery
- "Battery Features" renamed to "Battery Care"
- Introduce plugins to support Battery Care for non-ThinkPads
- ASUS laptops: stop threshold
- Huawei MateBooks: start and stop threshold
- LG Gram laptops: stop threshold at 80% aka "battery care limit"
- Lenovo laptops: stop threshold at 60% aka "battery conservation mode"
- Samsung laptops: stop threshold at 80% aka "battery life extender"
- tlp-stat -b: show plugin, supported features, driver usage and related kernel module(s)
- ThinkPads
- Allow deactivation of the start threshold (START_CHARGE_THRESH_BATx=0)
Configuration
- tlp-stat --cdiff: show configuration differing from defaults
- PARAMETER+="add values": append values to a parameter already defined as intrinsic default or in a previously read file (Issue #457)
- TLP_WARN_LEVEL: warn about invalid settings, configurable for background tasks and command line
Disks
- AHCI_RUNTIME_PM_ON_AC/BAT
- No longer experimental i.e. now enabled by default
- Works only on disks defined in DISK_DEVICES
- Works on NVMe (new), SATA/ATA and plugged in USB (new) disks
- Works on SATA ports
- DISK_APM_CLASS_DENYLIST: exclude disk classes from APM, i.e. you may now activate it for USB and IEEE1394 drives (Issue #523)
- DISK_APM_LEVEL_ON_AC/BAT, DISK_SPINDOWN_TIMEOUT_ON_AC, DISK_IOSCHED: now also work when plugging in USB disks
Graphics
- Add support for amdgpu (Issue #498)
- Improve powerdown of unused GPUs with drivers amdgpu, nouveau, nvidia and without driver (Issues #488, #495, #498)
Operation Mode AC/BAT
- Speed up system shutdown/suspend by not applying AC settings anymore
- TLP_PS_IGNORE: add USB; allow to ignore multiple power supply classes
PCI(e) devices
- RUNTIME_PM_ENABLE/DISABLE: permanently enable/disable runtime PM for PCI(e) devices based on address (independent of the power source)
Platform
- PLATFORM_PROFILE_ON_AC/BAT: select platform profile to control system operating characteristics around power/performance levels, thermal and fan speed
Processor
- CPU_HWP_DYN_BOOST_ON_AC/BAT: Intel CPU HWP dynamic boost (Issue #468)
- tlp-stat -p: cpu1..cpuN omitted for clarity, use -v to show all
USB
- USB_EXCLUDE_AUDIO: exclude audio devices from autosuspend (Issue #556)
See the full changelog for remaining features and bugfixes.
TLP 1.4.0-beta.2
Beta release
Bugfixes:
Battery
- Huawei: use legacy interface 'charge_control_thresholds' for reliability
- LG: fix battery and battery_care_limit detection (Issue #568)
- ThinkPad: fix enforcement via NATACPI_ENABLE, TPAPCI_ENABLE
Operation Mode AC/BAT
- Issue #573: power mode not updating when switching from AC to battery
Platform
- tlp-stat -p: show state of ThinkPad lapmode
Processor
- Issue #570: no_turbo=1 decreases scaling_max_freq on ThinkPad X1 Gen9
- tlp-stat -p: omit "EPB: unsupported" for AMD or non-intel_pstate CPUs
TLP 1.4.0-beta.1
Beta Release
Feature Highlights:
Audio
- SOUND_POWER_SAVE_ON_AC: change default to enabled (Issue #495)
Battery
- "Battery Features" renamed to "Battery Care"
- Introduce plugins to support Battery Care for non-ThinkPads
- ASUS laptops: stop threshold
- Huawei MateBooks: start and stop threshold
- LG Gram laptops: stop threshold at 80% aka "battery care limit"
- Lenovo laptops: stop threshold at 60% aka "battery conservation mode"
- Samsung laptops: stop threshold at 80% aka "battery life extender"
- tlp-stat -b: show plugin, supported features, driver usage and related kernel module(s)
- ThinkPads
- Allow deactivation of the start threshold (START_CHARGE_THRESH_BATx=0)
Configuration
- tlp-stat --cdiff: show configuration differing from defaults
- PARAMETER+="add values": append values to a parameter already defined as intrinsic default or in a previously read file (Issue #457)
- TLP_WARN_LEVEL: warn about invalid settings, configurable for background tasks and command line
Disks
- AHCI_RUNTIME_PM_ON_AC/BAT
- No longer experimental i.e. now enabled by default
- Works only on disks defined in DISK_DEVICES
- Works on NVMe (new), SATA/ATA and plugged in USB (new) disks
- Works on SATA ports
- DISK_APM_CLASS_DENYLIST: exclude disk classes from APM, i.e. you may now activate it for USB and IEEE1394 drives (Issue #523)
- DISK_APM_LEVEL_ON_AC/BAT, DISK_SPINDOWN_TIMEOUT_ON_AC, DISK_IOSCHED: now also work when plugging in USB disks
Graphics
- Add support for amdgpu (Issue #498)
- Improve powerdown of unused GPUs with drivers amdgpu, nouveau, nvidia and without driver (Issues #488, #495, #498)
Operation Mode AC/BAT
- Speed up system shutdown/suspend by not applying AC settings anymore
- TLP_PS_IGNORE: add USB; allow to ignore multiple power supply classes
PCI(e) devices
- RUNTIME_PM_ENABLE/DISABLE: permanently enable/disable runtime PM for PCI(e) devices based on address (independent of the power source)
Platform
- PLATFORM_PROFILE_ON_AC/BAT: select platform profile to control system operating characteristics around power/performance levels, thermal and fan speed
Processor
- CPU_HWP_DYN_BOOST_ON_AC/BAT: Intel CPU HWP dynamic boost (Issue #468)
- tlp-stat -p: cpu1..cpuN omitted for clarity, use -v to show all
USB
- USB_EXCLUDE_AUDIO: exclude audio devices from autosuspend (Issue #556)
See the full changelog for remaining features and bugfixes.
Available packages are listed on the download page.
TLP 1.3.1
TLP 1.3.0
New Features:
New configuration scheme
- /etc/default/tlp is replaced by /etc/tlp.conf
- 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
In case of identical parameters, the last occurence has precedence - Parse config files instead of sourcing --> no more shell expansion
Battery Features, tlp-stat -b
- Charge thresholds: better checks for command line and configuration; clearer error messages
- tlp discharge: error message "check your hardware" when battery wasn't completely discharged (Issue #438)
- Distinguish between "no kernel support" for natacpi (< 4.17) and "laptop not supported" (>= 4.17)
- Supplement battery status "Unknown" with "threshold may prevent charging" when thresholds are available only
General
- systemd: replace tlp-sleep.service with /lib/systemd/system-sleep/tlp
Operation Mode AC/BAT
- TLP_PS_IGNORE: power supply class to ignore when determining operation mode; workaround for laptops reporting incorrect AC or battery status (Issue #446)
PCI(e) devices
- PCIE_ASPM_ON_AC/BAT: add method 'powersupersave' (Issue #425)
Processor
- CPU_ENERGY_PERF_POLICY_ON_AC/BAT: backward compatible merge of settings for Intel energy vs. performance policies EPB (ENERGY_PERF_POLICY_ON_AC/BAT) and HWP.EPP (CPU_HWP_ON_AC/BAT); when HWP.EPP is available, EPB is not set; validate parameters; eliminate external tool x86_energy_perf_policy for kernel >= 5.2
tlp-stat
- Configuration: show file where the parameter comes from
- System Info:
- Show SELinux status
- Show RDW as 'disabled' when TLP is disabled as a whole
- Indicate persistent mode
- Intel CPU: don't show EPB values when HWP.EPP is active (see above)
- PCIe ASPM: show available policies
- Undervolting: remove "PHC kernel not available" message
Bugfixes:
Battery Features
- Issue #415: ThinkPad X240 discharge BAT1 malfunction when BAT0 is not installed
Disks
- Fix NVMe detection on Linux 4.15
tlp-stat
- Issue #430: ignore HID device batteries