Periodic Location Update Problem

Post your questions and help other users.

Moderator: Martin

Post Reply
Heikoho
Posts: 2
Joined: 18 Aug 2017 09:56

Periodic Location Update Problem

Post by Heikoho » 21 Aug 2017 10:14

Hello,

I use the Periodic-Location-Update-Trigger as the startpoint of my Flow.

But the Flow starts only manuell. I set "Frequency" to 4m (4 Minutes), but it never starts allone.

Therfore i put a second Trigger "Periodic Timer" to the first and set it also to 4m.
Now the Flow start every 4 Minutes.
Now my Question: Is it a bug in "Periodic Location Update"? Why can i set in this Trigger "Frequency" to 4m and nothing happend?
Sorry for my bad english ;)

Thanks,
Heiko

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Periodic Location Update Problem

Post by Desmanto » 21 Aug 2017 15:10

I have tried it out, the Period location update trigger properly based on the timer. What setting do you put at the trigger? If you use GPS, probably you should make sure the GPS is on. When my GPS is off, the trigger doesn't get triggered at all. So probably that's the problem.

If it still doesn't work, maybe not compatible at your phone. You can just use Periodic timer + action Init variable location. That will do the same.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Periodic Location Update Problem

Post by Martin » 21 Aug 2017 19:07

Hi,

Likely the device does not provide a location to trigger Periodic Location at all. The trigger will not execute the flow when it did not get at least one location. This could be caused when the location feature in the system settings of the device is turned off or when the trigger is configured to use a location provider that is not enabled in the system settings (e.g. when using GPS but location mode in system settings is set to battery saving mode). In the latter case you can edit the trigger and select another location provider like Network or switch to the Google Play services location features by using one of the experimental ones like High Accuracy.

Regards,
Martin

Heikoho
Posts: 2
Joined: 18 Aug 2017 09:56

Re: Periodic Location Update Problem

Post by Heikoho » 21 Aug 2017 19:30

hi,

thanks for answers.
I use the Network-Trigger.

Now i will test some other sets, like you told me.

regards,
Heiko

Post Reply