How to Quickly Increase and Optimize Laptop Battery Life Using TLP in Linux?
TLP is a free open source, a command-line utility for many Linux distros, without any need of digging into deeper technical details, laptop battery power can be saved. Default settings in TLP are already optimized for battery life, so basically, we only need to install it, and nothing else.TLP is highly customizable according to the requirements.
In TLP basically, kernel settings are being tweaked that affect power consumption.
How To Install TLP:
Install TLP package on Ubuntu/Debian-based distros using TLP-PPA repository by using the following commands:
sudo add-apt-repository ppa:linrunner/tlp
Next update the system using the following command:
sudo apt update
Now Install TLP using the following command:
sudo apt install tlp tlp-rdw
You are all done with installing TLP. Now to start the TLP service on your system use the following command:
sudo tlp start
For confirming that it is running, we can use the following command:
sudo tlp-stat -s
TLP, by default, works according to a preset configuration this configuration can be viewed by typing the following command:
sudo tlp-stat -c
Display all power settings by using the following command:
For viewing detailed battery report through TLP. Use the b flag with the tlp-stat command.
sudo tlp-stat -b
Temperatures and Fan Speed of the system can be displayed by using the following command:
sudo tlp-stat -t
For displaying any warning, write the following command:
sudo tlp-stat -w