Locus Map - forum

Content & Tools => Tools => Tasker => Topic started by: Graf Geo on September 19, 2024, 11:16:59

Title: Completely closing certain apps should deactivate location services
Post by: Graf Geo on September 19, 2024, 11:16:59
I created a profile with Tasker that automatically activates the location services (GPS) in the smartphone for certain apps. This includes Locus, of course.

What I can't do: If none of these apps are active (not even in the background), the location services should be switched off automatically. This means after actively closing/switching off the apps.

Unfortunately, location services are switched off immediately if none of these apps are running in the foreground. This is of course bad and fatal in the case of active track recording. 😎

Can this be fixed with Tasker? That location services are only switched off when I actively exit Locus (Do you really want to exit) and none of the other apps are active?

Thanks in advance and best regards.
Title: Re: Completely closing certain apps should deactivate location services
Post by: lor74cas on September 23, 2024, 10:03:18
Hi, you can enable/disable the GPS by monitoring Locus recording notification, but it only works for Locus and apps that use notifications.
Title: Re: Completely closing certain apps should deactivate location services
Post by: Graf Geo on September 23, 2024, 14:22:52
Thanks, I already know that and use notifications to switch the flight mode on and then off again when jogging.

But there is no notification when I exit Locus. (Do you really want to exit - ok).
Title: Re: Completely closing certain apps should deactivate location services
Post by: Menion on September 26, 2024, 12:32:21
When you depend on the notification > what about enabling "Locus Map as a service" in the app settings > Misc?
Title: Re: Completely closing certain apps should deactivate location services
Post by: Graf Geo on September 26, 2024, 15:53:24
Thanks. I always use Locus Map as a service.

But this notification is always present as long as Locus is active in the foreground or background.

I don't know if Tasker can trigger a task if a certain notification is not present.

I'll have to have a look...