Location services activates for Macrodroid

SonnyOla

New member
Hello friends, I currently have a battery saving macro which turns on location services only when certain map apps are launched and switches off location services when the device is locked. However I also have several macros that relie on location services, constraints etc.
I was wondering is there anyway a macro could be created which when ever Macrodroid needs location services, it is turned on for a few seconds and then turned off? I'm aware I can go into each macro which uses location services and allow it to turn on location services individually but would like one macro deal with it all. Thank you
 

dhj49er

Well-known member
Hello friends, I currently have a battery saving macro which turns on location services only when certain map apps are launched and switches off location services when the device is locked. However I also have several macros that relie on location services, constraints etc.
I was wondering is there anyway a macro could be created which when ever Macrodroid needs location services, it is turned on for a few seconds and then turned off? I'm aware I can go into each macro which uses location services and allow it to turn on location services individually but would like one macro deal with it all. Thank you
One approach could be to replace all the Location on and off actions & constraints with a global Boolean variable - called say LocN

Then add a macro
T LocN variable change any
A Location Services ON C LocN True
A Location Services OFF C LocN False

With this macro enabled any change to LocN will change the Location Services setting.

Adding Constraints can control when the macro is run / not run.

There are other use cases for this macro. For example:-

Disabling this macro with LocN enabled will keep Location services ON all the time or until the macro is enabled.

Disabling this macro with LocN disabled with keep Location services OFF all the time or until the macro is enabled.

Personally I activate Location Services as follows
Turn OFF overnight
Turn ON in the morning.
In addition I enable Geofence macros during the day when connected to WiFi & disable Geofence macros when disconnected from WiFi and overnight.
Using the above approach I don't find MD battery consumption is high. I have Google location settings for history, tracking and sharing all turned off, as I don't use these services and prefer that Google doesn't track my movements.
 
Last edited:
Top