Navigation Apps Auto turn on/off GPS
Moderator: Martin
Re: Navigation Apps Auto turn on/off GPS
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
Re: Navigation Apps Auto turn on/off GPS
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 (125.62 KiB) Viewed 21749 times
Re: Navigation Apps Auto turn on/off GPS
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
location_mode with value 3 = GPS ON
location_mode with value 0 = GPS OFF
Re: Navigation Apps Auto turn on/off GPS
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
Enable all flows after import and modify set System Setting as per your device.
http://automagic4android.com/forum/down ... 11cfaaa368