Powertop

Purpose:: Measure Power Consumption
Website:: http://www.01.org/powertop
Source Code:: https://github.com/fenrus75/powertop
Known by:: Wolfgang – Building a Power Efficient Home Server

Description

PowerTOP is a Linux tool used to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode you can use to experiment with various power management settings, for cases where the Linux distribution has not enabled those settings.

Notes

Usage on laptops

Laptops should run on battery power when running the powertop command.

Calibrate the power estimation engine:

sudo powertop --calibrate

Installation

sudo apt install powertop

Commands

Execute:

sudo powertop

CSV Output:

sudo powertop --csv=output.csv -t 20

πŸ”— References

ChapterΒ 16.Β Managing power consumption with PowerTOP Red Hat Enterprise Linux 8 | Red Hat Customer Portal