Completely closing certain apps should deactivate location services

Started by Graf Geo, September 19, 2024, 11:16:59

0 Members and 2 Guests are viewing this topic.

Graf Geo

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.
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

lor74cas

Hi, you can enable/disable the GPS by monitoring Locus recording notification, but it only works for Locus and apps that use notifications.
Locus Map 4
Locus Map for Garmin
Locus Tasker
  •  

Graf Geo

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).
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

Menion

When you depend on the notification > what about enabling "Locus Map as a service" in the app settings > Misc?
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Graf Geo

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...
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •