Optimizing laptop battery life with AcpiTool and PowerTOP
Calibration
If the rows for design capacity and last full capacity clearly differ, individual cells are more or less exhausted. This can be partially reversed by recalibrating the battery. To do this, drain the battery several times to the final discharge voltage and then fully charge it again.
For proper discharging, adjust the threshold in the energy manager of the desktop environment so that the computer switches off at minimum battery charge level (Figure 3). This ensures a clean shutdown of all processes and applications and minimizes the risk of data loss. Additionally, it avoids an accidental deep discharge, which can damage the battery.

Charging the battery for two to three hours after each complete discharge completes the recalibration and brings the last full capacity values back up to something approaching the design capacity. This accordingly extends the laptop's battery life.
Switching Off Unneeded Components
Switching off components and services that you do not need for operations helps to extend a laptop's battery life. For example, modern devices often have WiFi modules that you can switch off to save power. Besides a permanently running disk, a bright display is one of the biggest power guzzlers.
Although Linux now offers mature energy-saving options, which you can conveniently adjust through a graphical interface on the desktop, they do not include the full range of sensible energy management capabilities: To locate power-hungry components and services on Linux off the beaten track, you will find Intel's PowerTOP a useful companion.
PowerTOP is found in the repositories of many distributions. If you find two versions of the program, then install the 2.x version: This is the first version to include the code that supports convenient control of individual laptop components. If no packages are available for the distribution you are using, download the PowerTOP source code [5] and build the program by following the how-to.
Next, run the program in a terminal as an administrator by typing the
powertop
command. The tool lists the status of the hardware it finds in an ncurses interface and updates the data in real time. You will see not only the level of utilization for individual components, but also for services (processes). If PowerTOP permanently shows a value of 100 percent for individual subsystems, this means the components do not support power-saving mechanisms.
In the tab bar at the top of the screen, you will find a Tunables option on the right. The matching list details the computer components and specifies whether their current settings save energy or impede energy management (Figure 4). It makes sense to modify the settings for components listed as Bad.
To do so, select the device with the arrow keys and press Enter; a dialog for editing the settings is then displayed. PowerTOP automatically determines better settings and implements them when you press Enter again. Pressing R checks to see whether the program has made the changes.
Thanks to the descriptive names in the list, it is easy to identify hardware that you rarely use and thus does not need to be switched on permanently. Because PowerTOP makes the settings permanent, you can genuinely save power thanks to smart changes.
Conclusions
The high level of component integration in current laptops makes it difficult to configure meaningful energy-saving options. AcpiTool and PowerTOP are two useful tools that help keep your battery in good health and achieve the maximum lifetime to boot. Controlling these little helpers is extremely simple, allowing you to identify and disable the power hogs on your system.
Infos
- ACPI and Microsoft: http://techrights.org/2008/07/25/foxconn-bios-acpi/
- AcpiTool: http://acpitool.sourceforge.net
- "Inxi" by Erik Bärwaldt, Linux Pro Magazine, issue 164, July 2014, p. 70, http://www.linuxpromagazine.com/Issues/2014/164/Inxi
- Memory effect: http://phys.org/news/2013-04-memory-effect-lithium-ion-batteries.html
- Download PowerTOP: https://01.org/powertop/downloads
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe 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
-
Arch Linux 2023.12.01 Released with a Much-Improved Installer
If you've ever wanted to install Arch Linux, now is your time. With the latest release, the archinstall script vastly simplifies the process.
-
Zorin OS 17 Beta Available for Testing
The upcoming version of Zorin OS includes plenty of improvements to take your PC to a whole new level of user-friendliness.
-
Red Hat Migrates RHEL from Xorg to Wayland
If you've been wondering when Xorg will finally be a thing of the past, wonder no more, as Red Hat has made it clear.
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.
-
OpenELA Releases Enterprise Linux Source Code
With Red Hat restricting the source for RHEL, it was only a matter of time before those who depended on that source struck out on their own.