Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

Bluetooth set state

An action block that enables or disables Bluetooth.

The fiber will proceed immediately without pause.

An alternative to this block is to use the ADB shell command or Shell command (superuser) block to execute: svc bluetooth <enable|disable>

This block requires the Automate legacy extension on Android 13+, which due to an Android bug may not be granted the “Nearby devices” permission when installed, ensure it’s granted in system App settings.

Note! Huawei devices may show a non-standard confirmation dialog when an app tried to enable Bluetooth.

Input arguments

  • Bluetooth — whether to enable or disable Bluetooth.
Note! This documentation is also accessible within the app from Help & feedback menu.