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
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta is Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.
-
Star Labs Reveals a New Surface-Like Linux Tablet
If you've ever wanted a tablet that rivals the MS Surface, you're in luck as Star Labs has created such a device.