Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/start-z31508/data/www/linuxcool.ru/wp-includes/functions.php on line 6114
How to extend the battery life of Ubuntu - linuxcool.ru

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.

slimbook battery indicator

In advanced mode, you can change the CPU limit, save graphics, screen brightness, turn off animation, Bluetooth, automatically suspend USB ports, etc.

slimbookbatterypreferences

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.