bluez5: backend-native: Add battery level indicator support

This connect to the UPower service and update the +CIND battchg indicator
This commit is contained in:
Frédéric Danis 2022-09-19 15:00:24 +02:00 committed by Wim Taymans
parent a37aeac273
commit 47700a2214
4 changed files with 371 additions and 4 deletions

View file

@ -43,7 +43,7 @@ if get_option('bluez5-backend-hsp-native').allowed() or get_option('bluez5-backe
bluez5_deps += mm_dep
bluez5_sources += ['modemmanager.c']
endif
bluez5_sources += ['backend-native.c']
bluez5_sources += ['backend-native.c', 'upower.c']
endif
if get_option('bluez5-backend-ofono').allowed()