Skip to content
  • Marijn Suijten's avatar
    bluetooth: Deregister battery provider when profile disconnects · 1f5d0d15
    Marijn Suijten authored
    Whenever a device disconnects the device is not removed from BlueZ, only
    the profiles that had an active connection are disconnected. Since we
    were providing this battery level based on AT commands received through
    HSP/HFP these services should be responsible for deregistering it again.
    
    Deregister the interface to signal BlueZ (And UPower in return) that the
    battery level won't be accurate/updated anymore.
    1f5d0d15