System Administration

Essential System Tools: TLP – power management package

Last Updated on May 28, 2022

Other Features

TLP is jam-packed with features. It’s a very extensive software solution for conserving power.

I’ll focus on the main features. There are additional options for certain laptops such as Lenovo Thinkpads.

  • Kernel laptop mode and dirty buffer timeouts.
  • Processor frequency scaling including “turbo boost” / “turbo core”. For Intel Core i processors, it uses the intel_pstate driver. This may conflict with a distributions’ governor settings. For older hardware, the acpi-cpu-freq driver is used. There’s also the option to minimize the number of used CPU cores/hyper-threads under light load conditions.
  • Limit max/min P-state to control power dissipation of the CPU – intel_pstate only.
  • HWP energy performance hints for Intel P-state governor. There’s the choice between performance, balance performance, default, balance power, and power, with the values given in order of increasing power savings.
  • Processor performance versus energy savings policy (x86_energy_perf_policy).
  • Hard disk advanced power management level (APM) and spin down timeout (per disk). You can set the number of seconds the laptop mode has to wait after the disk goes idle before doing a sync.
  • AHCI link power management (ALPM) with device blacklist. Choose between min_power, med_power_with_dipm, medium_power, and max_performance.
  • AHCI runtime power management for host controllers and disks. This is an experimental feature and is not enabled by default.
  • PCIe active state power management (PCIe ASPM). Choose between default, performance, and powersave. There’s ASPM method ‘powersupersave’.
  • Runtime power management for PCIe bus devices.
  • Intel GPU frequency limits. You can set the minimum/maximum/turbo frequency for the Intel GPU.
  • AMD Radeon GPU power management (KMS and DPM).
  • Wifi power saving mode.
  • Enable/disable integrated radio devices (excluding connected devices).
  • Power off optical drive in UltraBay/MediaBay.
  • Audio power saving mode for Intel HDA, AC97 devices.
  • Support for NVMe devices.
  • Support for removable drives including USB and IEEE1394 storage devices.
  • Excellent Lenovo support including battery manager.
  • I/O scheduler (per disk). There’s multi queue (blk-mq) schedulers: mq-deadline, none, kyber, or bfq. There’s single queue schedulers: deadline, cfq, bfq, and noop. Single queue schedulers are included only for legacy support.
  • USB and IEEE1394 storage devices.
  • USB autosuspend with device blacklist/whitelist (input devices excluded automatically).  All USB input devices (usbhid) are excluded from autosuspend by default.
  • Enable or disable integrated wifi, Bluetooth or WWAN devices upon system startup and shutdown.
  • Restore radio device state on system startup (from previous shutdown).
  • Radio device wizard: switch radios upon network connect/disconnect and dock/undock.
  • Disable Wake On LAN.
  • Integrated WWAN and Bluetooth state is restored after suspend/hibernate.
  • Battery charge thresholds and recalibration – ThinkPads only.

Next page: Page 4 – Summary

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Other Features
Page 4 – Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments