System Settings
Android 5.0+
Risk: READ_ONLY
Get Bluetooth Enabled State
Returns 1 if Bluetooth radio is enabled, 0 otherwise.
Command Syntax
adb shell settings get global bluetooth_on
Generic Syntax:
settings get global bluetooth_on
Real-World Usage Examples
Execute command
Returns 1 if Bluetooth radio is enabled, 0 otherwise.
adb shell settings get global bluetooth_on