basu: Use new pkg-config name
Support basu as sd-bus impl
Use path/type fallback in remove as well
Introduce systemd user unit file
The unit will be installed if `poweralertd` is built with `logind`.
Signed-off-by: Antoine Damhet <firstname.lastname@example.org>
Double-buffer state to diff, cleanup
* Rather than track changes with a boolean for each field, double-buffer
all dynamic values in a prop struct.
* Handle all types and levels from the UPower source, rather than the
outdated UPower documentation.
* Handle BatteryLevel for coarse battery information.
* Small style changes.
Avoid creating duplicate devices in device add
Unref sd_bus_slot when destroying device
meson: Silence unused-parameter and missing-braces
readme: A little bit of description
Support use of sd-bus from elogind
meson: Expand project declaration
readme: Expand *slightly*
Track online power supply state