flashes the rear flash of my phone when the current battery level exceeds a certain threshold

55 views
Skip to first unread message

F

unread,
Feb 19, 2024, 3:01:39 AM2/19/24
to Automate for Android
Good morning. I'm trying to create a batch that flashes the rear flash of my phone when the current battery level exceeds a certain threshold when I plug in my phone or when the charge (phone plugged in and therefore charging in progress) exceeds this same threshold.
This seems to work but only when the phone doesn't have the screen off. when the screen is on (phone locked or not) the flash lights up well. but the screen is off... no more flash.
Do you have a solution ?

Henrik "The Developer" Lindqvist

unread,
Feb 19, 2024, 5:44:03 AM2/19/24
to Automate for Android
Ensure to disable any non-standard "power save" features, please read:

But if the flow log view tell that the Flashlight block actually doe execute but its not working then it might be that the flash is deliberately disabled by the manufacturer when the screen is off.

F

unread,
Feb 19, 2024, 7:39:22 AM2/19/24
to Automate for Android
Thank you for the feedback. I have a xiaomi poco m5s and it worked with Macrodroid: the flash worked when the phone had the screen off and locked. and indeed: the batch stops when the phone is turned off. there is no log when it is turned off and therefore the phone is locked. and I confirm that the energy saving for "Automate" is indeed deactivated.
Especially since my other batch concerning sending emails when I enter or leave a geographical area works when the phone screen is off. therefore “Automate” continues to operate in the background.

Henrik "The Developer" Lindqvist

unread,
Feb 19, 2024, 8:01:34 AM2/19/24
to Automate for Android
Then there's probably an issue with how your flow is set up, e.g. maybe you have to two block with Proceed=When changed after another.

F

unread,
Feb 19, 2024, 9:05:53 AM2/19/24
to Automate for Android

yes it is. thx
Reply all
Reply to author
Forward
0 new messages