powertop

Optimize battery power usage. More information: <https://github.com/fenrus75/powertop>.

Install

All systems
curl cmd.cat/powertop.sh
Debian Debian
apt-get install powertop
Ubuntu
apt-get install powertop
Alpine
apk add powertop
Arch Arch Linux
pacman -S powertop
image/svg+xml Kali Linux
apt-get install powertop
CentOS
yum install powertop
Fedora
dnf install powertop
Windows (WSL2)
sudo apt-get update sudo apt-get install powertop
Raspbian
apt-get install powertop
Docker
docker run cmd.cat/powertop powertop powered by Commando

Optimize battery power usage. More information: <https://github.com/fenrus75/powertop>.

  • Calibrate power usage measurements:
    sudo powertop --calibrate
  • Generate HTML power usage report in the current directory:
    sudo powertop --html=power_report.html
  • Tune to optimal settings:
    sudo powertop --auto-tune
  • Generate a report for a specified number of seconds (instead of 20 by default):
    sudo powertop --time=5

© tl;dr; authors and contributors