Pinterest Stumbleupon Whatsapp
Ads by Google

On Linux laptops, one of the most common complaints is that the battery life isn’t quite as good as one would hope. It’s true that with default settings, Linux gets decent battery life, but not as fine-tuned as say laptops that come with Windows. It’s easy to track your battery’s performance Take Control Of Your Power Usage With Gnome Power Statistics [Linux] Take Control Of Your Power Usage With Gnome Power Statistics [Linux] For all of you who are conscious about your power usage, you probably tend to check over your power settings often to make sure that you're being as energy-efficient as possible. This is even more... Read More , but it’s more difficult to get the right settings. However, you can find out what settings are best for your system, along with various low-level statistics, through an application called PowerTOP.

About PowerTOP

PowerTOP is an application developed by Intel that is all about finding the best power settings on Linux systems. It’s not Intel’s only foray into power savings applications — it also has an application called the Intel Thermal Daemon. It’s difficult to describe what the thermal daemon does in layman’s terms, but just know that it only works with Intel processors. PowerTOP, on the other hand, works with all processors as it looks at general settings of not only the processor but other components in your system.

Installation of PowerTOP

PowerTOP can be installed on your system by searching for “powertop” in your respective package manager. Ubuntu users can install it with the command:

sudo apt-get install powertop

Fedora users can install it with:

sudo yum install powertop

Ads by Google

On occasion, however, the version that is included in distribution repositories is a bit outdated — you can compile the absolute latest version yourself by getting the source code.

Overview

powertop_overview
PowerTOP doesn’t have a graphical user interface, so you’ll need to run it by launching a terminal and running the command:

sudo powertop

This will launch the program, and place you in the tab that displays the various wakelocks that currently keep your processor awake. It’s a good idea to check this on a regular basis to make sure that there isn’t a program or service that is constantly using your processor (and thereby battery power) when it shouldn’t be. This tab is solely for monitoring — there’s nothing you can do here besides identify what’s going on. Measures need to be taken on the program or service in question that’s causing the trouble. To move on to the next tab, hit the Tab button.

Stats Tabs

powertop_idle_stats
The Idle Stats tab shows you various information about processor C-states. For us, there’s little that we can learn from this tab although it doesn’t hurt to learn more about it if you’re interested.

powertop_frequency_stats
Roughly the same applies to the Frequency Stats and Device Stats tabs.

powertop_device_stats
Although, the Device Stats tab can be a bit more helpful in determining what’s using up more juice.

Tunables

powertop_tunables
The last tab displays all of your tunables. These are the different system settings that you can tweak to reduce power usage. You can go through each item by pressing the down arrow key, and you can temporarily change the setting by hitting the spacebar or Enter on each item that says “Bad” to turn it into “Good”. Note that I said this change is temporary, because they disappear as soon as you restart the system.

PowerTOP Report

powertop_html_report
To actually keep those settings so you won’t have to change them every time you boot your system, you’ll need to exit out of PowerTOP by pressing Esc and then running the command:

sudo powertop --html

This will take a moment to generate an HTML report of your system. In here, it’ll give you various commands that you can use to permanently change those tunables to the desired values. You can copy each one (yes, it’s a bit tedious) and paste it into the /etc/rc.local file.

PowerTOP Really Helps Battery Life

Without using PowerTOP, you risk not being able to identify whether there are any applications that are using power when they shouldn’t be. Thanks to the Tunables tab, it can also let you check up on common system settings that could be changed to yield better battery life. So although you might be using other tools or tricks like laptop-mode-tools and TLP Easily Increase Your Battery Life With TLP for Linux 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? Read More  or the now-defunct Jupiter Get More From Your Battery With Jupiter [Linux] Get More From Your Battery With Jupiter [Linux] Get better battery life from your Linux laptop. Jupiter Applet is a small program that helps you save energy by adjusting your CPU, tweaking the Linux kernel and your hardware. You probably won't notice a... Read More , it’s still a good idea to check PowerTOP.

Share with us your battery life improvements you’ve gained thanks to PowerTOP. Or do you think it’s pointless? Let us know in the comments!

  1. Max Hedmark
    August 14, 2015 at 9:59 am

    Just put

    sudo powertop --auto-tune

    in the /etc/rc.local file

    it has the exact same effect as putting all those commands in one by one.

  2. kayla
    July 5, 2014 at 2:18 am

    Direct sales are doing quite well in a MLM environment. But I’ve reviewed everything at Modulates.com and wonder if you think it's real or not?

  3. Don
    June 18, 2014 at 2:58 am

    Powertop killed my Fedora 20 system. I installed it, ran it in "calibrate" mode and my system blanked and now won't boot. I'm not a happy camper. It's resisted simple things to fix it. I doubt I'll install anything else from Intel any time soon.

  4. Anonymous
    June 18, 2014 at 12:40 am

    All of these solutions (PowerTop, TLP, Jupiter) lack one very important feature - charge limiting.

    My Lenovo came with software that recognizes most of my usage is plugged in. I only travel with the machine on occasion. To prevent overcharging and overheating my battery, it stops charging at 60%. This prolongs the life of my battery.

    When I do travel, I override this setting and the battery charges to 100%. This software only works in Windows, and I would love to implement the same thing in Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *