Double tapping to turn n the screen may be available on your phone, depending on Android version and phone OS.
Its worth checking....and if available is just a simple toggle in system settings.
The following macro should work on your tablet. It includes a fail safe in case you forget to turn off your phones Bluetooth.
Your phone is the specified device and needs to be selected from the drop-down list when creating the macro.
T Bluetooth device connected - your phone
T Bluetooth...
Yes I use it & found it to be reliable.
In any case the continue after the 3 sec timeout would probably mask any unreliability of the setting trigger.
In my experience the phone typically requires a minimum of 2 seconds to change airplane mode state.
In your macro you either need to put a wait action of at least 2 seconds between the airplane on/off actions.
An alternative to a wait is to use system setting change - see the attached screenshots.
The last wait until trigger is not essential for your macro.
Is the PC connected to a LAN that provides internet connection?
Are you trying to check if the PC is on only when you have access to the LAN?
If the PC is on what is the macro doing?
To me, it hardly seems worth having the macro on the tablet, as you do everything else manually.
You already manually disable Bluetooth on the phone after the data transfer has ended. Just manually disable Bluetooth on the tablet, to avoid the issue you are having.
Your idea will not work.
It appears that you are
Manually enabling Bluetooth on your phone and device.
Manually starting the Bluetooth data transfer.
Manually disabling Bluetooth on the device.
Using a macro to disable bluetooth.
My suggestion is for you to wait until the data transfer is...
You say the macro works....so what is disconnecting the device in order to generate the trigger?
I agree with @Dm114 that when the trigger fires, any data transfer between the device and your phone is terminated.
So how is the Bluetooth data transfer continuing? Is it to another device?
In list of actions select conditions/Loops - 1st screenshot.
Then select if clause & enter a condition - I've added screen on - see 2nd screenshot.
In the macro edit, select the if clause & new list appears - see 3rd screenshot. Here is where you can select else etc.
In my experience Xiaomi tend not to adhere to stock Android in quite a few areas.
For MD to regain control of Mobile data there are a couple of options I know.
The first is to use UI actions to toggle the status bar icon. This can work well but only when the screen is on.
The seconds is to use...
By standby mode do you mean Macrodroid running with no macros?
If you have macros, a rouge macro could be causing high battery drain.
What does the system log show when Macrodroid is in standby mode?
I've attached a screenshot of a macro that may do what you require.
I have used Bluetooth Enabled for Trigger A and Bluetooth Connected Any device for Trigger B. These would need changing to your triggers. Note Trigger B must be disabled before running the macro.
The macro requires Trigger A...
It knows by running the folderpairs.
Let's say the connection times out because WiFi is not connected. This is an error and will terminate running the folderpairs.
Let's say the connection doesn't time out as WiFi is connected. This will allow the folderpairs to run to completion.
I don't...