HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

upower — System utility to provide power and battery information and statistics. More information: <https://u

Submitted by: @import:tldr-pages··
0
Viewed 0 times
upowercommandandcliprovideutilitypowersystem
linux

Problem

How to use the upower command: System utility to provide power and battery information and statistics. More information: <https://upower.freedesktop.org/docs/upower.1.html>.

Solution

upower — System utility to provide power and battery information and statistics. More information: <https://upower.freedesktop.org/docs/upower.1.html>.

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]}}

Code Snippets

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]}}

Context

tldr-pages: linux/upower

Revisions (0)

No revisions yet.