Page 1 of 1

Workflow based on location trigger won't execute

Posted: 14 Feb 2020 08:41
by Maxmyd
Hi.
I have set up a workflow based on location trigger, when exiting some location, app must set volume and WiFi state. Problem is that sometimes it won't execute until I open the app. Can you please say if there's any workaround or correct settings to make it work as expected?
Phone model is Honor 20.
Thanks

Re: Workflow based on location trigger won't execute

Posted: 14 Feb 2020 16:44
by Desmanto
What is the android version? Honor is Huawei subbrand, they use the same EMUI, same problem with the power saver : https://dontkillmyapp.com/huawei
Uninstall the power genie, or any task killer. They do more harm than benefit. It cause Automagic to be killed/limited and can't perform the flow properly.

If you are already on androdi 10, then you have to go the location permission for Automagic and choose always enable location for Automagic. It is limitation from Google in android 10 to prevent app using location in background service.

Re: Workflow based on location trigger won't execute

Posted: 15 Feb 2020 11:55
by Maxmyd
It's Android 9, forgot to mention that.
Honor 20 doesn't have EMUI, it has MagicUI v2.1, I suppose it's something different and does not have PowerGenie app.
I have to say other triggers execute properly, I have time based trigger which works fine, except it always starts 2 minutes earlier :) Also I have time based trigger with the following location condition which also works fine.
I think the problem could be about those "entering" and 'exiting" checkboxes, they sometimes won't work.

Re: Workflow based on location trigger won't execute

Posted: 16 Feb 2020 15:14
by Desmanto
I always thought they are the same, just like Oppo and vivo which have different OS name, but very similar flavor. If all other trigger are working fine, then you should be safe from the limitation.

I rarely use Location trigger, because I don't turn on the location feature high accuracy all the time. You might need to try to enable high accuracy location all the time to see if it works properly. It can be that the google play services too late to report the location

Re: Workflow based on location trigger won't execute

Posted: 16 Feb 2020 20:53
by Maxmyd
You might need to try to enable high accuracy location all the time to see if it works properly
How do I do that? It was in classic mode, turned it to Modern now just to check out if it helps. Any other preferences I don't know?

Re: Workflow based on location trigger won't execute

Posted: 17 Feb 2020 05:14
by Desmanto
You can try the modern too. What I mean above is android location feature. We have battery saving mode, which use cellular network to get position. It is not accurate. To get more accurate, you need to enable high accuracy (enable GPS).

Re: Workflow based on location trigger won't execute

Posted: 17 Feb 2020 18:09
by Maxmyd
Its still not working properly, sometimes works, sometimes doesn't. Will try to find some workarounds. Not sure if I love the idea of keeping GPS always on, consumes too much.
But anyway thanks for replies.
GL

Re: Workflow based on location trigger won't execute

Posted: 17 Feb 2020 19:54
by Micky Micky
GPS won't be on all the time. The trigger checks every 4 minutes. Lots of things outside of Automagic check your location using GPS. I think Android has two methods: coarse and fine. They're probably using coarse.

I've had problems with the triggers not executing for 10 minutes. Upon reading this post I switched from Classic to Modern and one triggered perfectly. Too early to say if the problem is solved though.

As Desmanto says, you need to enable high accuracy.

Good luck.

Re: Workflow based on location trigger won't execute

Posted: 05 Mar 2020 15:47
by Maxmyd
As Desmanto says, you need to enable high accuracy.
How do I do that?

Re: Workflow based on location trigger won't execute

Posted: 05 Mar 2020 18:42
by Desmanto
Enable the GPS at the quick setting. It is the same one you enable when using google maps, so that it can detect your location accurately (up to several meters accuracy). The setting location can be in different location, but usually you still can find the toggle in the quick setting.