Reputation: 87
I found some answers related to Bluetooth using ADB. But all of to turn on/off Bluetooth using ADB.
My requirement is like get the current Bluetooth status on the phone. If it is in the off state, turn on Bluetooth and vice versa.
Upvotes: 0
Views: 643
Reputation:
You can use the ADB 'get global' command to read the Bluetooth status for an Android phone using this command:
adb shell settings get global bluetooth_on
Upvotes: 1