upower - Man Page
UPower command line tool
Examples (TL;DR)
- Display power and battery information:
upower [-d|--dump]
- List all power devices:
upower [-e|--enumerate]
- Watch for and print power status changes:
upower [-m|--monitor]
- Watch for and print detailed power status changes:
upower --monitor-detail
- Display version:
upower [-v|--version]
Synopsis
upower [--battery] [--dump] [--enumerate] [--monitor-detail] [--monitor] [--show-info] [--version] [--help]
Description
upower is a simple command line client for the UPower(7) daemon.
Options
- -b, --battery
Dump all parameters for battery devices.
- -d, --dump
Dump all parameters for all devices.
- -e, --enumerate
Enumerate the object paths of all devices on the system.
- -m, --monitor
Connect to the UPower daemon and print a line every time a power source is added, removed or changed.
- --monitor-detail
Like --monitor but prints the full details of the power source whenever an event happens.
- -i, --show-info OBJECT_PATH
Show information about the given device.
- -v, --version
Print version information for the client and daemon.
- -h, --help
Show help options.
Author
Written by David Zeuthen <davidz@redhat.com> with a lot of help from many others.
Bugs
Please send bug reports to either the distribution or the DeviceKit mailing list, see http://lists.freedesktop.org/mailman/listinfo/devkit-devel on how to subscribe.