Disables Bluetooth after 10 min of disconnection.
As a best practice, it avoids active waits to prevent battery drainage. Uses "when" statements instead of "is" statements for loop controls. Using "is" statements doesn't allow phone to go into deep sleep, as documented in the Automate common error document.
1) If BT is enabled and not connected after 5m, it will be disabled.
2) If BT is disconnected for 10 minutes, it will be disabled.
3) If BT is reconnected before the 10 minute limit, the task to disable it is canceled.
For safety, understand it before using it :)