Alan 643228485
New member
I have a pretty simple macro that triggers when a notification comes in and the device is locked.
It flashes the torch until it sees that the device has been unlocked - no LED on this phone
(it's based on the 'Flash notifications' macro in the templates).
It works fine usually, but if I leave it flashing and the phone is not on charge, MacroDroid restarts itself after about 30 minutes.
It seems to keep running if the phone is plugged in.
It checks for device unlocked every second and flashes the torch every 10 seconds,
In the log file I see this ...
02-09-21 09:29:01 - MacroDroid Initialised
02-09-21 09:28:58 - Wait 1 second
02-09-21 09:28:58 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:58 - If (Device Unlocked)
02-09-21 09:28:57 - Wait 1 second
02-09-21 09:28:57 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:57 - If (Device Unlocked)
02-09-21 09:28:57 - Torch Off
02-09-21 09:28:57 - Torch On
02-09-21 09:28:56 - Wait 1 second
02-09-21 09:28:56 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:56 - If (Device Unlocked)
02-09-21 09:28:55 - Wait 1 second
Any idea why it's doing this?
The phone is a Xiaomi Redmi and I know it has aggressive power management, but I've turned it all off for MacroDroid.
Thanks.
It flashes the torch until it sees that the device has been unlocked - no LED on this phone
(it's based on the 'Flash notifications' macro in the templates).
It works fine usually, but if I leave it flashing and the phone is not on charge, MacroDroid restarts itself after about 30 minutes.
It seems to keep running if the phone is plugged in.
It checks for device unlocked every second and flashes the torch every 10 seconds,
In the log file I see this ...
02-09-21 09:29:01 - MacroDroid Initialised
02-09-21 09:28:58 - Wait 1 second
02-09-21 09:28:58 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:58 - If (Device Unlocked)
02-09-21 09:28:57 - Wait 1 second
02-09-21 09:28:57 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:57 - If (Device Unlocked)
02-09-21 09:28:57 - Torch Off
02-09-21 09:28:57 - Torch On
02-09-21 09:28:56 - Wait 1 second
02-09-21 09:28:56 - A: If (Device Unlocked) did not invoke because constraint failed: Device Unlocked (Flash notifications )
02-09-21 09:28:56 - If (Device Unlocked)
02-09-21 09:28:55 - Wait 1 second
Any idea why it's doing this?
The phone is a Xiaomi Redmi and I know it has aggressive power management, but I've turned it all off for MacroDroid.
Thanks.