Windows
Linux
System & Storage
System Info
Windows powercfg /batteryreport equivalent in Linux
Shows battery charge level, time remaining, and health information on laptops.
Windows
→
powercfg /batteryreport
Linux equivalents
acpi / upower
acpi / upower
acpi / upower
Overview
What this command does
Shows battery charge level, time remaining, and health information on laptops.
Migration tip:
acpi -b is the quickest battery check. upower gives more detail including battery health percentage and charge cycle count.Practical tasks
Common use cases
Battery status and health
Shows battery charge level, time remaining, and health information on laptops.
acpi -b
Battery percentage and status
acpi -V
All ACPI info (battery, AC adapter, temp)
upower -e
List all power devices
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
acpi -b
upower -i $(upower -e | grep BAT)
Walkthrough
Examples with explanations
# Windows: powercfg /batteryreport
# Quick battery check:
acpi -b
Battery 0: Discharging, 78%, 02:15:00 remaining
# Detailed battery info:
upower -i $(upower -e | grep BAT)
Reference
Common options and variations
| Command or option | Use |
|---|---|
acpi -b | Battery percentage and status |
acpi -V | All ACPI info (battery, AC adapter, temp) |
upower -e | List all power devices |
cat /sys/class/power_supply/BAT0/capacity | Raw battery percentage |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | acpi / upower |
Same command on this distribution. |
| Fedora | same command | acpi / upower |
Same command on this distribution. |
| Arch | same command | acpi / upower |
Same command on this distribution. |
Keep learning