Learn how to save battery in Ubuntu and improve battery life on Linux. Here is how install TLP in Ubuntu 22.10 and use TLP to save battery power in Ubuntu 22.10 and Ubuntu 22.04.
Note that TLP is a pure command line utility. It does not contain a GUI.
TLP is a feature-rich command line utility for Linux, saving laptop battery power. TLP’s default settings are already optimized for battery life, so you may just install and forget it.
Power saving 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 and HWP dynamic boost
- Platform profile to control power/performance levels, thermal and fan speed
- Hard disk advanced power magement level (APM) and spin down timeout (per disk)
- AHCI link power management (ALPM) with device denylist
- AHCI runtime power management for NVMe/SATA/USB disks and SATA ports
- PCIe active state power management (ASPM)
- Runtime power management for PCIe bus devices
- Intel GPU frequency limits
- AMD 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
Install TLP in Ubuntu
To install the TLP power management tool from Ubuntu Linux Systems, run the following commands:
sudo add-apt-repository ppa:linrunner/tlp-beta
sudo apt update
sudo apt install tlp
NOTE: Please make sure to uninstall the previous version of TLP {if already installed}.
The default configuration provides optimized power saving out of the box. Settings are stored in /etc/default/tlp; see Configuration for details.
To completely remove the TLP power management tool from Ubuntu Linux Systems, run the following commands:
sudo apt install ppa-purge
sudo ppa-purge ppa:linrunner/tlp-beta
sudo apt remove tlp tlp-rdw