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