From the project page:
- TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.
The configuration file is located at
/etc/default/tlp and provides a "largely" optimized power saving by default; for a full list of option explanations see: TLP configuration. Listed here are the notable settings.
CPU frequency scaling governor
TLP can control the CPU frequency scaling governor. Changing this to
ondemand is generally recommended:
Most disks have power saving built-in whose settings can be adjusted, set to: 255 to disable, 128 for the maximum power save value, <128 will enable disk spindown and possibly additional power savings. Before setting a spindown value, think carefully before using: spindowns require disk wakeups that negatively contribute to disk longevity.
DISK_APM_LEVEL_ON_AC="254 254" DISK_APM_LEVEL_ON_BAT="128 128"
Powering down the optical drive can save a little bit of power (power restored on disk-enter or tray close).
Radio device wizard
The TLP Radio Device Wizard manages the power state of Bluetooth, WiFi, and WWAN devices. It requires NetworkManager to be installed as a dependency, from the official repositories, and the
NetworkManager-dispatcher service be started. The options relevant for the RDW are found at the end of
/etc/default/tlp and commented out by default.
To restore radio device states on start-up:
To enable or disable specific devices at boot, use the following options:
If you make use of one of these three options, it is necessary to mask the systemd service
systemd-rfkill to avoid conflicts.
# ln -s /dev/null /etc/systemd/system/systemd-rfkill@.service
Before starting the service, disable other power saving services as they likely will conflict with TLP. Also,will have to be removed as will not load if it is installed.
To load TLP, enable and start the systemd units:
Command line tool
A command line tool called
tlp is provided, mainly for debugging purposes.
To generate a report of the loaded configuration and the current power state of the devices, run:
It can also be used to control battery charging and discharging on supported laptops, to discharge:
man tlp for the full set of commands.
- TLP - Linux Advanced Power Management - Project homepage & documentation.
- AUR - Supplementary tool that extends TLP's functionality to run commands depending on the laptop's AC state