summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-11-02 15:38:47 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-11-03 13:00:57 +0200
commit927711c0af7a27205fbd917b56ef9fcafff031f8 (patch)
tree6634a475749465d61c2d896894b302870542ac77 /Makefile.plugins
parentc133489d54cb6d28c3fd308557937acbc5245f5e (diff)
downloadbluez-927711c0af7a27205fbd917b56ef9fcafff031f8.tar.gz
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
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins3
1 files changed, 3 insertions, 0 deletions
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