Releases: linrunner/TLP
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
TLP 1.3.0-beta.4
Beta Release
Changes since beta.3
- Improvements from code review
- CPU_ENERGY_PERF_POLICY_ON_AC/BAT: validate parameters
TLP 1.3.0-beta.3
Beta release
Changes since beta.2
- tlp.conf: 'use PARAM="" to disable an intrinsic default'
- /etc/tlp.d/README added
- Parameter parsing: allow dots (.) in value strings
- tlp-stat -c: show file where the parameter comes from
- Disks: fix nvme detection on Linux 4.15
- tlp-stat -s: show SELinux status
- Prevent SELinux AVCs in Fedora:
- Write temporary run.conf to /run/tlp
- Pass messages as a parameter to the logger
- systemd: do not start tlp.service earlier in boot process
- Fix manpages
TLP 1.3.0-beta.2
Beta Release
Changes since beta.1
- New configuration scheme: drop-in customizations moved to /etc/tlp.d/
- Makefile: fix install-man-tlp
TLP 1.3.0-beta.1
Beta Release
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.conf.d/*.conf - Drop-in customizations - NOTE: beta.2 changed this to /etc/tlp.d/*.conf
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: start tlp.service earlier in boot process
- 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
- Add ASPM 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; eliminate external tool x86_energy_perf_policy for kernel >= 5.2
tlp-stat
- System Info:
- 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
tlp-stat
- Issue #430: ignore hid device batteries
TLP 1.2.2
Bugfixes:
Battery Features, tlp-stat -b
- Show data for batteries named other than BAT0/BAT1 (non-ThinkPads)
- Issue #395: ThinkPad X1C6 discharge malfunction
- Separate checks for charge thresholds and recalibration
- Intelligible recommendation for tp-smapi on ThinkPad X220/T420 et al.
- Explain "Battery Features: Charge Thresholds and Recalibrate"
Disks
- Fix type determination
Operation Mode AC/BAT
- MacBookPro 5.3: workaround for false AC offline status
Processor, tlp-stat -p
- Fix read of /sys/devices/system/cpu/cpufreq/boost
- x86_energy_perf_policy: detect unsupported CPUs in newer versions
Radio Devices
- Issue #404: make RESTORE_DEVICE_STATE_ON_STARTUP=1 persistent again
TLP 1.2.1
TLP 1.2
New features (highlights):
Disks
- Support for NVMe, USB, IEEE1394 devices
- Support for multi queue I/O schedulers (blk-mq)
General
- Manual mode: keep tlp ac/bat power settings (until reboot or tlp start)
Graphics
- Intel GPU frequency limits
Radio Devices
- tlp-rdw: new command to disable RDW actions temporarily (until reboot)
- USB_BLACKLIST_WWAN: disable by default
ThinkPad Battery
- New native kernel API for battery features "natacpi"; used by default for kernels >= 4.17
- Support ThinkPad 25, *80 (Coffee Lake) and all newer models
- tlp-stat: improved recommendations for external kernel modules
USB
- Exclude scanners managed by libsane from autosuspend
For bug fixes and more features refer to the changelog.