Better Power Management on Linux Notebooks with TLP
Productivity Sauce
Although your favorite Linux distribution may already include tools for managing power settings, installing TLP on your notebook won't hurt. In fact, it can extend the battery life without any significant tweaking efforts on your part. TLP packages are available for many mainstream Linux distros, including Debian, Ubuntu, openSUSE, and Arch. To install TLP on Debian, open the /etc/apt/sources.list file for editing and add the following repository:
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid main
Add the PPA's public key:
apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 02D65EFF
Update then the software repositories and install TLP:
apt-get update && apt-get install tlp tlp-rdw
Once you've done that, you can start TLP either by rebooting your machine or running the sudo tlp start command. TLP comes with sensible defaults, so there is no need to get your hands dirty tweaking the tool's settings (although you can do this if you are so inclined). TLP features a handful of useful commands, too. The wifi on | off | toggle and bluetooth on | off | toggle commands can be used to enable, disable, and toggle WiFi and Bluetooth from the command line. The tlp-stat command supports several parameters, including --battery (battery info), --rfkill (status of radio devices), and --temp (processor temperature and fan speed).
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.