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
-
apt-get install upower
- Ubuntu
-
apt-get install upower
- Alpine
-
apk add upower
- Arch Linux
-
pacman -S upower
- 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
- Dockerfile
- dockerfile.run/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