top of page
Search

How to prevent overheating and improve battery life in Ubuntu?

Linux and laptops are two things that do not seem to go hand in hand. While Linux generally performs much better than windows on the same hardware, it consumes much more battery than Windows. CPU overheating is also a quite common issue in Linux distributions. Let us take a look at a few methods by which we can improve the battery life and prevent overheating of the CPU in Linux.


how to improve linux battery life

Install TLP


TLP is an excellent tool to manage the battery life and CPU frequency of your Linux laptop. It is a daemon that is already preconfigured. This means that you can just install it and forget about it. It will do the rest of the work for you.

To install TLP on Ubuntu and related distributions, follow the given steps -


-- Open up the terminal and enter the following commands -


sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw

The first command will add the PPA for TLP to the repository. The 2nd command will check for any updates available and the 3rd command will install TLP on your laptop.


Note - For Thinkpad Laptops, add one extra command to the terminal -


sudo apt-get install tp-smapi-dkms acpi-call-dkms

-- Reboot your system.


You can remove TLP from your PC if you are unsatisfied with the results. To remove TLP, follow the given steps -


sudo apt-get remove tlp
sudo add-apt-repository --remove ppa:linrunner/tlp  

The first command will remove TLP and the 2nd command will remove the PPA for TLP from your PC.


Install thermald


Linux Thermal Division (also known as thermald) is developed by Intel's open-source division. It helps in the thermal management of the CPU, which controls overheating and thus, increases battery life. Many users have reported that TLP and thermald do not conflict with each other. So it is fairly safe to say that thermald can be installed along with TLP.


To install thermald, follow the given steps -


-- Open up the terminal and enter the following command -


sudo apt install thermald

You do not have to add the PPA for thermald because it is already present in the Ubuntu repositories.


-- Restart your PC.


The above-given steps, if executed properly, shall lead to a considerable improvement in battery life and also keep the overheating under control.


If you want a more in-depth knowledge of the commands and tutorials of TLP and thermald, or want some more in-depth power-saving tips for Linux, or anything else in general, do let us know in the comments section or on our social media handles.


Read More -


25 views0 comments

Comments


Post: Blog2 Post
bottom of page