TLP Changelog

What's new in TLP 1.6.1

Sep 19, 2023
  • Bugfixes:
  • Battery
  • LG Gram laptops: ensure lg-legacy is used for kernel

New in TLP 1.6.0 (Aug 25, 2023)

  • 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
  • BUG FIXES:
  • 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

New in TLP 1.6.0 Beta 1 (Jul 23, 2023)

  • FEATURES:
  • Battery:
  • 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
  • Disks:
  • SATA_LINKPWR_ON_AC/BAT: remove fallbacks for outdated kernels before 4.15 from defaults (still available via explicit configuration)
  • General:
  • Allow coexistence with power-profiles-daemon: do not apply
  • PLATFORM_PROFILE_ON_AC/BAT, CPU_ENERGY_PERF_POLICY_ON_AC/BAT and
  • CPU_BOOST_ON_BAT/BAT when it is running
  • MEM_SLEEP_ON_AC/BAT: change system suspend mode
  • 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 EC firmware version
  • Show system suspend mode
  • Show proper ThinkPad model string with Libreboot (Issue #679)
  • 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); amd-pstate/intel_pstate driver required
  • CPU_ENERGY_PERF_POLICY_ON_AC/BAT: support AMD Zen 2 or newer CPUs; kernel 6.3 with amd-pstate driver in active mode required
  • CPU_HWP_DYN_BOOST_ON_AC/BAT: *EXPERIMENTAL* support AMD Zen 2 or newer CPUs; yet unreleased kernel 6.x and amd-pstate driver in active mode required
  • 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)
  • (-v) Show acpi_cppc performance and frequency attributes
  • Radio Devices:
  • Support Thunderbolt docks to switch 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
  • BUG FIXES:
  • Configuration:
  • Strip trailing blanks from unquoted parameter values
  • Operation:
  • Deactivate AHCI_RUNTIME_PM and PCIE_ASPM before suspend to avoid resume freezes (Issue #587, #593, #606, #698)
  • Processor:
  • Set governor although not listed in scaling_available_governors

New in TLP 1.5.0 (Jan 7, 2022)

  • Bugfixes:
  • tlp-stat: drop PM_RUNTIME=y kernel config recommendation

New in TLP 1.5.0 Beta 1 (Dec 21, 2021)

  • BATTERY:
  • Sony laptops: stop threshold 50/80/100% aka "battery care limiter"
  • ThinkPads:
  • Use new sysfs attribute 'charge_behaviour' for recalibration
  • Support T400 running coreboot via natacpi (Issue #601)
  • tlp-stat -b: display "cycle_count = 0" with the note "or not supported"
  • Radio Devices:
  • Add support for switching NFC devices
  • Remove support for wireless-tools (iwconfig)
  • BUG FIXES:
  • Battery:
  • ASUS laptops: apply stop threshold reliably on boot and after hibernate (Issue #589)
  • Disks:
  • tlp-stat -d: display correct sysfs path for disk runtime pm:
  • /sys/block//device/power/control (Issue #606)

New in TLP 1.4.0 (Oct 13, 2021)

  • 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)