snippetbashTip
upower — System utility to provide power and battery information and statistics. More information: <https://u
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-detailDisplay 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-detailDisplay version
upower {{[-v|--version]}}Context
tldr-pages: linux/upower
Revisions (0)
No revisions yet.