Forrest logo
back to the upower tool

upower:tldr:b093e

upower: List all power devices.
$ upower --enumerate
try on your machine

The command "upower --enumerate" is used to list all the power devices detected by the UPower daemon in a Linux system.

UPower is a power management service that provides information and control on power-related features, such as battery status, power supply, and suspend/hibernate functionality. The "--enumerate" option is used to list all available power devices and their properties.

When you run the "upower --enumerate" command, it communicates with the UPower daemon, which gathers information from the system's hardware and presents it to you. The output of this command typically includes devices like batteries, line power sources, AC adapters, and UPS (uninterruptible power supply) devices.

The detailed information about each device can be accessed by further commands, such as "upower --show-info [device]" or "upower --dump".

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the upower tool