Bluetooth Battery Saver

by AFPing

Version 4 (March 10, 2021)

Download (11 downloads)

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.

Threads:

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.

Advice:

For safety, understand it before using it :)