mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 04:50:07 +00:00
Update cheatsheets
This commit is contained in:
29
linux/upower
Normal file
29
linux/upower
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 --dump`
|
||||
|
||||
- List all power devices:
|
||||
|
||||
`upower --enumerate`
|
||||
|
||||
- Watch for and print power status changes:
|
||||
|
||||
`upower --monitor`
|
||||
|
||||
- Watch for and print detailed power status changes:
|
||||
|
||||
`upower --monitor-detail`
|
||||
|
||||
- Display version:
|
||||
|
||||
`upower --version`
|
||||
Reference in New Issue
Block a user