Flow not working in background - Power saving options turned off

255 views
Skip to first unread message

Benjamin Wils

unread,
Sep 22, 2018, 12:25:00 PM9/22/18
to Automate
Hello,

I am seeking for help here as I am trying to make my flow work when Automate is working in background. Currently, I have a "Resumed after restart" log when Automate is back in foreground. And indeed, my flow do not react when in background, even if the Automate notification is there.
I read the FAQ content and did all the steps to grant permissions and deactivate the power saving feature on Automate, but to no effect. I think I did it well because I also had to do it when using Tasker and Tasker is working just fine.

Here is my flow :
And an extract from my log file :
2018-09-22 17:41:56.584 INFO 10@2: Bluetooth enabled?
2018-09-22 17:41:57.770 INFO 10@4: Bluetooth tethering set state
2018-09-22 17:41:57.796 INFO 10@2: Bluetooth enabled?
2018-09-22 17:43:43.831 INFO 10@2: Resumed after restart
2018-09-22 17:43:43.834 INFO 10@2: Bluetooth enabled?
2018-09-22 17:52:20.707 INFO 10@2: Bluetooth enabled?
2018-09-22 17:52:24.730 INFO 10@4: Bluetooth tethering set state
2018-09-22 17:52:24.828 INFO 10@2: Bluetooth enabled?
2018-09-22 17:52:33.288 INFO 10@2: Resumed after restart
2018-09-22 17:52:33.290 INFO 10@2: Bluetooth enabled?
2018-09-22 17:54:40.055 INFO 10@2: Resumed after restart
2018-09-22 17:54:40.058 INFO 10@2: Bluetooth enabled?

I have a Xiaomi Redmi Note 4. Can this issue be specific to my device/model?

Below are the phone details :

Thank you for your help!
Benjamin

Henrik "The Developer" Lindqvist

unread,
Sep 22, 2018, 1:09:30 PM9/22/18
to Automate

micha...@gmail.com

unread,
Mar 11, 2019, 10:02:25 AM3/11/19
to Automate
Hi, i have the same issue

Henrik "The Developer" Lindqvist

unread,
Mar 11, 2019, 4:00:56 PM3/11/19
to Automate

micha...@gmail.com

unread,
Mar 12, 2019, 2:48:48 PM3/12/19
to Automate
Wow, thanks... Amazing documentation, I will try that

micha...@gmail.com

unread,
Mar 12, 2019, 2:54:56 PM3/12/19
to Automate
Hmm i think i have bad luck...xiaomi pocophone f1, configured "no baterry restrictions" and allow auto start for automate app but in my flow log i keep seeing "resumed after restart" so i believe miui keeps killing bg processes of the app :( ... Switched from nexus 4 mako with pure android this is coming to raw performance world with delusion from miui treating bg processes :(

maccm...@gmail.com

unread,
Dec 8, 2019, 4:21:30 AM12/8/19
to Automate
i found solution redmi note8 (android 9 Miui10) start automate then press square(recent apps) long press on automate and press lock icon! from now miui cleaner wont close automate and flows in background!

Henrik "The Developer" Lindqvist

unread,
Dec 8, 2019, 4:34:07 PM12/8/19
to Automate
Thanks for reporting. I'll include the instructions in the documentation.
Reply all
Reply to author
Forward
0 new messages