≡ Menu

UPower: Linux Battery Status – System-wide Power Management Command

Fig.02: Displaying battery info using upower

UPower provides an interface to enumerate power sources on the system and control system-wide power management. Any application can access the
org.freedesktop.UPower service on the system message bus. Some operations (such as suspending the system) is restricted using PolicyKit.

Use this command to display battery information:

upower -i /org/freedesktop/UPower/devices/battery_BAT0
Share this tutorial on:

Examples and usage: Linux: Check Battery Status Command

{ 0 comments… add one }
Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: