Improve Laptop battery life and reduce Overheating
Overheating of laptops is a common issue, not only in Ubuntu but in any operating systems and it also affects the battery life span. Until Ubuntu 12.10, Jupiter was the best tool to reduce overheating, but since its development has stopped, the next available alternatives are TLP & CPUFREQ.
TLP is a power management tool for Linux that allows your laptop save battery life with the appropriate settings. TLP comes with a default configuration already optimized for battery life
Install TLP in Ubuntu, Linux Mint
sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw sudo tlp start

Install CPUFREQ in Ubuntu / Linux Mint
CPUFREQ is a small daemon used to adjust cpu speed and voltage for kernels using any of the cpufreq drivers available. The CpuFreq Linux kernel capability is available in all recent kernels.
Install CPUFREQ in Ubuntu, Linux Mint
sudo apt-get install indicator-cpufreq
Note: It appears this does not work well on Intel machines
Easily Increase Your Battery Life With TLP for Linux

Linux tends to guzzle up more battery life than Windows, even though most Linux installations are lighter than Windows on system resources. Why is that?
It primarily comes down to a lack of optimized, under-the-hood power settings. Happily, there are Linux tools for optimizing your energy usage. Perhaps the best known is called “laptop-mode-tools”, but it’s been incorporated into the Linux kernel. Additionally, another common tool named Jupiter was recently discontinued.
Don’t worry, though, because there’s another tool worth looking at: TLP.
What’s TLP?
TLP (no one knows for sure what this acronym stands for) is a simple tool available for various Linux distributions. It’s meant to enhance your battery life (or your power usage, for the occasional desktop user who is interested in power savings). You can change a lot of settings by editing a configuration file, but TLP comes with a default options for optimizing battery life. So, if you don’t care about the little details, you can simply install TLP and forget it, and reap the benefits.

TLP increases battery life with the default configuration by having an ac and a battery mode. In ac mode, performance is preferred, while in battery mode, power savings are preferred. It accomplishes this by changing various states and timeouts of various system devices to reduce the amount of power they draw. These are all settings that you can only access “under-the-hood”, and not via the Gnome or KDE power settings.
Installing TLP
Installing TLP is a quick three-step process. You’ll need to add a new repository, install the packages, and then either start the service manually or simply restart. I’ll be covering installation instructions for Ubuntu and Fedora here – for other distributions, check out the official installation guide.
Ubuntu
In Ubuntu, you’ll want to do the following:
- Run this command to add the repository: sudo add-apt-repository ppa:linrunner/tlp.
- Run sudo apt-get update to make your computer aware of the new repository.
- Run sudo apt-get install tlp tlp-rdw to install TLP.
- If you are on a ThinkPad, you’ll need to install a few more packages for maximum battery life, which you can do with the command sudo apt-get install tp-smapi-dkms acpi-call-tools.
- Finally, run sudo tlp start to start the TLP service. You won’t need to do this ever again as it should start automatically on each boot.
Fedora
In Fedora, you’ll want to run these commands to add the necessary repositories:
yum localinstall –nogpgcheck http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release-1.0-0.noarch.rpm
yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Please notice that the second command adds the “free” portion of the RPMFusion repository. If you already have this added, you can skip it. If not, or you’re unsure, do it anyways.
- Kernel laptop mode and dirty buffer timeouts;
- Processor frequency scaling including „turbo boost“ / „turbo core“;
- Power aware process scheduler for multi-core/hyper-threading;
- Hard disk advanced power management level and spin down timeout (per disk);
- SATA aggressive link power management (ALPM);
- PCI Express active state power management (PCIe ASPM) – Linux 2.6.35 and above;
- Runtime power management for PCI(e) bus devices – Linux 2.6.35 and above;
- Radeon KMS power management – Linux 2.6.35 and above, not fglrx;
- Wifi power saving mode – depending on kernel/driver;
- Power off optical drive in drive bay (on battery).
Additional TLP functions:
- I/O scheduler (per disk);
- USB autosuspend with blacklist;
- Audio power saving mode – hda_intel, ac97;
- Enable or disable integrated wifi, bluetooth or wwan devices upon system startup and shutdown;
- Restore radio device state on system startup (from previous shutdown);
- Radio device wizard: switch radios upon network connect/disconnect and dock/undock;
- Disable Wake On LAN;
- WWAN state is restored after suspend/hibernate;
- Undervolting of Intel processors – requires kernel with PHC-Patch;
- Battery charge thresholds – ThinkPads only;
- Recalibrate battery – ThinkPads only.
Install TLP in Ubuntu
Before proceeding with the installation, there are a couple of things you need to do:
- firstly, if you’ve added any power saving settings / scripts (e.g.: in /etc/rc.local), remove them or else TLP may not work properly;
- remove laptop-mode-tools („sudo apt-get remove laptop-mode-tools“).
sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdwsudo tlp start- smartmontools – needed to display disk drive S.M.A.R.T. data;
- ethtool – needed to disable wake on lan.
sudo apt-get install smartmontools ethtool- tp-smapi-dkms – needed for battery charge thresholds and ThinkPad specific status output of tlp-stat;
- acpi-call-tools – acpi-call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430, etc.).
Install these packages using the following command:
sudo apt-get install tp-smapi-dkms acpi-call-toolsgksudo gedit /etc/default/tlpMake sure to also read the TLP FAQ.

