Skip to content

Optimize Linux laptop battery life with TLP

Install and configure TLP, PowerTOP, auto-cpufreq, and zRAM to improve your Linux laptop battery life.

WRITTEN BY: ADRIEN PIRON UPDATED ON 4 SEPTEMBER 2026 3 MIN READ
Optimize Linux laptop battery life with TLP

You unplug your fully charged laptop. Three Firefox tabs and a terminal later, the fan is running at full speed. In less than two hours, a critical warning appears. Although Linux is known for being lightweight, default power management is often not ideal on laptops.

TLP is a command-line tool that automatically adjusts component power usage depending on whether your laptop is plugged in or running on battery. With the right configuration, it can significantly extend battery life without sacrificing processor performance.

Install and configure TLP for power management

TLP runs as an invisible background service that monitors your hardware and applies power-saving profiles at boot. Its lack of a graphical interface keeps resource usage extremely low. The daemon optimizes the CPU and Wi-Fi while managing USB ports and fan speed.

As a complement, monitor your CPU temperature to prevent overheating.

Start by adding the developer’s official repository and refreshing your local package list:

Debian
sudo add-apt-repository ppa:linrunner/tlp && sudo apt-get update

Install TLP and its additional module for wireless devices:

Debian
sudo apt-get install tlp tlp-rdw -y

Enable the service at boot and start it immediately:

Debian
sudo systemctl enable tlp && sudo systemctl start tlp

Confirm that the installation works:

Debian
tlp-stat -s

TLP adapts its behavior to the power source. When the charger is connected, it is normal for the report to show a performance profile rather than aggressive power saving.

Don’t let the algorithm decide for you

Add Assistouest to your preferred sources on Google so you can find our guides faster when you search for an IT solution.

Fine-tune power usage and battery life

After installing TLP, use diagnostic tools to identify the processes that consume the most power. PowerTOP, developed by Intel, shows real-time consumption for each device.

Use PowerTOP to optimize your Linux battery

Install PowerTOP and launch it with administrator privileges:

Debian
sudo apt update && sudo apt install powertop -y
Debian
sudo powertop

The Tunables tab contains experimental suggestions. For each line marked Bad, press Enter to switch it to Good.

PowerTOP experimental tuning suggestions

Extend battery life by regulating the CPU

auto-cpufreq automatically regulates processor frequency to reduce unnecessary load and extend battery life.

Debian
sudo apt update && sudo apt install -y git python3-pip && cd ~ && git clone https://github.com/AdnanHodzic/auto-cpufreq.git && cd auto-cpufreq && sudo ./auto-cpufreq-installer
Debian
sudo python3 -m auto_cpufreq.power_helper --gnome_power_disable
sudo auto-cpufreq --install
Debian
auto-cpufreq --stats

If CPU frequencies change in real time with system activity, the installation is working correctly.

Check CPU frequency statistics

Use zRAM to limit disk writes

zRAM creates a swap device inside RAM and compresses temporary data, reducing storage wear.

Enable and configure zRAM for up to 2x more compressed memory on Linux
Enable and configure zRAM for up to 2x more compressed memory on Linux
Linux4 minassistouest.fr
Your PC is running out of RAM. zRAM compresses memory to get more from it. Learn how it works and how to enable it easily on Linux.

By reducing physical reads and writes, zRAM can improve power management. For other settings, see how to speed up Ubuntu on a slow PC.

Check battery health on Linux

The acpi tool provides a quick battery report:

Debian
sudo apt install acpi
Debian
sudo acpi -V

Compare charge_full, the current capacity, with charge_full_design, the original capacity. If less than 50% remains, the cells are heavily worn and no software optimization can fully restore battery life.

To extend battery life, avoid complete discharges and try to keep the charge between 20% and 80%.

FAQ: if TLP conflicts with another power manager, disable services such as power-profiles-daemon or laptop-mode-tools before testing it again.

Our articles are free thanks to advertising
You are reading with an active ad blocker
The rest of this article is hidden because you are using an ad blocker. Disable it to keep reading for free, or subscribe to enjoy all our tips and tutorials.
I disabled my ad blocker