Navigation Apps Auto turn on/off GPS

Share and discuss your flows and ideas with other users.

Moderator: Martin

rj45
Posts: 8
Joined: 03 Jan 2014 09:11

Re: Navigation Apps Auto turn on/off GPS

Post by rj45 » 10 Feb 2020 21:29

On Xiaomi Mi 9 (MIUI 11.2 xiaomi.eu rooted) I just found that on Category Secure the location_mode with value 0 enables GPS and location_mode with value 3 will disable the GPS :D

pgrilo
Posts: 4
Joined: 28 Feb 2019 08:53

Re: Navigation Apps Auto turn on/off GPS

Post by pgrilo » 15 Feb 2020 20:30

rj45 wrote:
10 Feb 2020 21:29
On Xiaomi Mi 9 (MIUI 11.2 xiaomi.eu rooted) I just found that on Category Secure the location_mode with value 0 enables GPS and location_mode with value 3 will disable the GPS :D
Are sure it is not the other way around? O disables and 3 enables?

Samsung on android 10 seems to have changed from 9.. It seems that other keys also change..
Take a look at the attached screenshot, it displays 3 different situations: gps+network, disabled, and gps only..

I will have do some testing because it seems to have changed from android 9 to 10..
Attachments
Screenshot_20200215-201207_Gallery.png
Screenshot_20200215-201207_Gallery.png (125.62 KiB) Viewed 9585 times

rj45
Posts: 8
Joined: 03 Jan 2014 09:11

Re: Navigation Apps Auto turn on/off GPS

Post by rj45 » 19 Feb 2020 11:18

Yes You are totally right I made a mistake writing the post ;)

location_mode with value 3 = GPS ON

location_mode with value 0 = GPS OFF

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Navigation Apps Auto turn on/off GPS

Post by anuraag » 23 Feb 2020 11:41

I have updated my flow to use GPS status event trigger to turn off gps and wifi scanning. Added a notification to tun off gps and wifi scanning when they are enabled.

Enable all flows after import and modify set System Setting as per your device.

http://automagic4android.com/forum/down ... 11cfaaa368

Post Reply