Want to increase the battery life of your Ubuntu laptop? In addition to dealing with various settings or configuration files, try the TLP power management tool and Slimbook Battery.
TLP is a multifunctional command-line utility for Linux that allows you to save laptop battery power without having to go into technical details.
The default TLP settings are already optimized for battery life and implement Powertop recommendations out of the box. So you can just install and forget about it.
How to install TLP in Ubuntu 20.04
Just open the terminal from the application menu, or press Ctrl + Alt + T on the keyboard. When the terminal opens, enter the following command:
sudo apt install tlp
After installation, everything is ready, because this utility runs in the background with the default configuration, already optimized for battery operation.
To meet your specific requirements, you can install the GTK TLPUI user interface using the following PPA repository.
Install Slimbook Battery
Slimbook Battery is a graphical tool based on TLP, it offers an indicator menu that includes three modes: Energy Saving, Balanced and Maximum Performance.
In advanced mode, you can change the CPU limit, save graphics, screen brightness, turn off animation, Bluetooth, automatically suspend USB ports, etc.
To install Slimbook Battery from an official PPA, run the following commands in the terminal:
sudo add-apt-repository ppa:slimbook/slimbook
sudo apt update
sudo apt install slimbookbattery
After installation, launch the application from the menu, and enjoy!
If suddenly, you want to remove Slimbook Battery, as well as PPA, run the following commands:
sudo add-apt-repository --remove ppa:slimbook/slimbook
sudo apt remove --autoremove slimbookbattery
That’s all! Hope the article was helpful! And if so, do not forget to share on social networks.