Battery capacity is a critical resource on mobile devices, such as notebook computers and tablets. Linux provides tools that measure power consumption, one such command is powertop.
Measuring and optimizing power usage
Getting ready
The powertop application doesn't come preinstalled with many Linux distributions, you will have to install it using your package manager.
How to do it...
The powertop application measures per-module power consumption and supports interactively optimizing power consumption:
With no options, powertop presents a display on the terminal:
# powertop
The powertop command takes measurements...