Want to get better battery life for your Ubuntu laptop? Besides struggling with various settings or config files, try the power management tool TLP and Slimbook Battery.
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 and implement Powertop’s recommendations out of the box. So you may just install and forget it.
1.) How to Install TLP in Ubuntu 20.04:
Simply open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command:
sudo apt install tlp
Once installed, you’re done as it runs silently in background with a default configuration already optimized for battery life.
To fulfil your specific requirements, you can install the GTK user interface TLPUI via this PPA.
2.) Install Slimbook Battery:
Slimbook Battery is a graphical tool based on TLP, it offers an indicator menu that includes
Maximum Performance modes.
Advanced mode provides options to change CPU limit, graphics saving, screen brightess, disable animation, bluetooth, auto-suspend USB ports, etc.
To install Slimbook Battery from its official PPA, run following commands in terminal one by one in terminal:
sudo add-apt-repository ppa:slimbook/slimbook sudo apt update sudo apt install slimbookbattery
Once installed, launch it from ‘Show Applications’ menu and enjoy!
(Optional) To remove Slimbook Battery as well as its PPA, run following commands one by one:
sudo add-apt-repository --remove ppa:slimbook/slimbook sudo apt remove --autoremove slimbookbattery