Introduction

TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details.

TLP’s default settings are already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

Note

TLP is a pure command line utility. It does not contain a GUI.

How it works

TLP’s actions are event-driven. The following events will cause settings to be applied:

Charger plugged in (AC powered)
Applies the AC settings profile.
Charger unplugged (battery powered)
Applies the BAT settings profile.
USB device plugged in
Activates USB autosuspend mode for the device (if not automatically excluded or blacklisted).
System startup (boot)
Applies the settings profile corresponding to the current power source AC/BAT.
System shutdown (power off)
Applies the AC settings profile so that the laptop is powered off as fast as possible.
System reboot
Applies the AC settings profile to reboot swiftly. After reboot applies the settings profile corresponding to the current power source AC/BAT.
System suspend - ACPI Sleep States S3 (Suspend to RAM) or S4 (Suspend to disk)
Applies the AC settings profile so that the suspend state is reached as soon as possible.
System resume
Applies the settings profile corresponding to the current power source AC/BAT.
LAN, Wi-Fi, WWAN connected/disconnected or laptop docked/undocked (Radio Device Wizard)
Enable or disable builtin bluetooth, Wi-Fi and WWAN devices depending on your individual settings (this is disabled in the default configuration).

Note

  • TLP will not make dynamic or adaptive changes to the settings beyond the events described above
  • In particular, TLP will never adjust the settings due to CPU load, battery charge level or else

Important

TLP does not monitor the above events itself but relies on a range of system daemons, namely systemd, udevd and NetworkManager. Therefore TLP does not include a daemon and there is no permanent tlp background process showing up in the output of ps. Refer to Architecture for technical details.

Features

Settings are organized into two profiles, enabling you to adjust between savings and performance independently for battery (BAT) and AC operation:

  • Kernel laptop mode and dirty buffer timeouts
  • Processor frequency scaling including ‘turbo boost’ and ‘turbo core’
  • Limit max/min P-state to control power dissipation of Intel CPUs
  • Intel CPU energy/performance policies HWP.EPP and EPB
  • Hard disk advanced power magement level (APM) and spin down timeout (per disk)
  • AHCI link power management (ALPM) with device blacklist
  • AHCI runtime power management for host controllers and disks
  • PCIe active state power management (ASPM)
  • Runtime power management for PCIe bus devices
  • Intel GPU frequency limits
  • AMD Radeon GPU power management
  • Wi-Fi power save
  • Enable/disable integrated bluetooth, Wi-Fi and WWAN devices
  • Power off removable optical drives (in drive bays)
  • Audio power save

Additional settings - independent of the power source - are:

  • I/O scheduler (per disk)
  • USB autosuspend with device blacklist/whitelist
  • Enable or disable radio devices (bluetooth, Wi-Fi and WWAN) upon boot and shutdown
  • Restore radio device state on boot (from previous shutdown)
  • Radio device wizard: enable/disable radios upon network connect/disconnect and dock/undock
  • Disable Wake-On-LAN
  • Bluetooth and WWAN state is restored after suspend/hibernate
  • Battery charge thresholds and recalibration – ThinkPads only

Important

  • TLP implements Powertop’s recommendations out of the box, so there is no need to also run powertop --autotune on boot.