Tools for optimizing Linux power management


The Advanced Configuration and Power Interface (ACPI) [9] lets you intervene actively with the system's power management. Tools such as Acpitool [10] and Acpiclient [11] inhabit the ACPI framework. To reduce the power used by unnecessary interfaces and devices, you can turn to GUI power management tool for your desktop interface, or use a tool such as Hdparm or Sdparm for hard drives.

Mobile devices such as laptops benefit from tools in the laptop-mode-tools package [12]. A graphical interface lets users change many parameters with a single mouse click (Figure 4). For example, if you are not connected to a wireless network, simply disable the wireless chip (Enable modules wireless-ipw-power, wireless-iwl-power, or wireless-power) to easily save the power these components otherwise require. For information on the parameters, check out the laptop-mode-tools project documentation, as well as the wikis for Arch Linux [13] and Ubuntu [14]. And see the article on ACPI elsewhere in this issue.

Figure 4: The graphical interface of laptop-mode-tools.

Powertop [15] gives you details of the system load. The program comes with five views: Overview, Idle stats, Frequency stats, Device stats, and Tunables. You can press Tab or Shift+Tab to change tabs. The device statistics answer the question of which devices are consuming too much power: In addition to the battery discharge rate, Powertop shows the extent to which a device or interface is busy (Figure 5).

Figure 5: Powertop shows how much each component is being used.


Linux is not known for maximizing the theoretical maximum battery life of a mobile device, but current kernels and modern desktop environments with integrated power saving mechanisms have helped Linux narrow the gap with other systems. The Linux environment includes several useful tools you can use to configure the power configuration manually.

Keeping unneeded components and processes active costs energy without giving the user anything in return. You can find these power hogs with the current crop of tools and put your laptop on a battery diet.

The Author

Frank Hofmann works on the road – preferably from Berlin, Geneva, and Cape Town – as a developer, trainer, and author. He is also the co-author of the Debian package management book ( Neumeyer has lived in Cape Town for nine years and likes to travel around the world. She works in tourism and is currently building up an extra source of income as a digital nomad.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • PowerTOP 2.0

    The PowerTOP tool developed by Intel helps you save power. In version 2.0, it can also handle GPUs and offers advanced tracking features.

  • Saving Power

    Save power by choosing the right system and software configuration.

  • Free Software Projects

    A new status report on suspend and hibernate discusses the workings of, issues with, and future plans for power-saving modes in Linux.

  • PowerTOP

    Intel’s PowerTOP analysis tool helps optimize power usage and shows you the power guzzlers hiding out on your operating system.

  • Ask_Klaus!
comments powered by Disqus
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.

Learn More