upower/tools
Josh Triplett 3369d31472 upower: Add a -b/--battery option to dump only battery information
This is useful when asking people to give information about battery
health. It avoids having to give two-step instructions of first
enumerating devices with `upower -e`, then looking for a device whose
name starts with `/org/freedesktop/UPower/devices/battery_`, then
running `upower -i` on that device.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
2025-08-26 13:29:52 +08:00
..
meson.build build: Clean up include_directories usage 2021-09-06 14:06:40 +02:00
up-tool.c upower: Add a -b/--battery option to dump only battery information 2025-08-26 13:29:52 +08:00