upower

System utility to provide power and battery information and statistics. More information: <https://upower.freedesktop.org/docs/upower.1.html>.

Install

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

System utility to provide power and battery information and statistics. More information: <https://upower.freedesktop.org/docs/upower.1.html>.

  • Display power and battery information:
    upower --dump
  • List all power devices:
    upower --enumerate
  • Watch for and print power status changes:
    upower --monitor
  • Watch for and print detailed power status changes:
    upower --monitor-detail
  • Display version:
    upower --version

© tl;dr; authors and contributors