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

by on January 21, 2014 · 0 comments· LAST UPDATED January 21, 2014

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
TwitterFacebookGoogle+Found an error/typo on this page? Help us!

Examples and usage: Linux: Check Battery Status Command

{ 0 comments… add one now }

Leave a Comment

Tagged as: