weliem / blessed-bluez

BLE library using Java and Bluez
MIT License
76 stars 21 forks source link

I there any way to get battery info of a bluetooth device without connecting to it ? #23

Closed ranjitIN closed 1 year ago

ranjitIN commented 1 year ago

lets assume we have a BLE device i want to get the battery label of the Bluetooth device before connecting to it. is there any way to get the battery label of device before connecting to it.

weliem commented 1 year ago

Unless the battery level is in the advertisement data, it is not possible to get it without connecting first

ranjitIN commented 1 year ago

thanks i got it.