From 927711c0af7a27205fbd917b56ef9fcafff031f8 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 2 Nov 2017 15:38:47 +0100 Subject: profiles/battery: Add Bluetooth LE Battery service The Battery Level characteristic was tested with a Microsoft Arc Touch Mouse SE. The Battery1 interface is now exported for Bluetooth LE devices which support the Battery Level characteristic, providing a single "Percentage" value to other integration points in the OS, such as UPower for consumption on most free desktops. See https://bugs.freedesktop.org/show_bug.cgi?id=92370 --- Makefile.plugins | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.plugins') diff --git a/Makefile.plugins b/Makefile.plugins index 73377e532..1f3b5b552 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -100,6 +100,9 @@ builtin_sources += profiles/midi/midi.c \ builtin_ldadd += @ALSA_LIBS@ endif +builtin_modules += battery +builtin_sources += profiles/battery/battery.c + if SIXAXIS plugin_LTLIBRARIES += plugins/sixaxis.la plugins_sixaxis_la_SOURCES = plugins/sixaxis.c -- cgit v1.2.1