bluetooth: add UPower backend

System Internals / PulseAudio - Dylan Van Assche [dylanvanassche.be] - 1 August 2022 19:16 UTC

UPower provides information about the power supply and battery level of the host. Add a backend to retrieve the host battery level.

Part-of:

362173105 bluetooth: add UPower backend
src/modules/bluetooth/meson.build | 4 +-
src/modules/bluetooth/upower.c | 300 ++++++++++++++++++++++++++++++++++++++
src/modules/bluetooth/upower.h | 39 +++++
3 files changed, 342 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share