by Talha KAYA
It turns on GPS if selected apps are foreground and turns off if not. Also turns off GPS if selected apps are not opened for 15 minutes. Edit "Expression True?" blocks with package names of wanted apps. You can also add more "Expression True?" blocks.
Please tell me if you want any updates/new futures or if you see a bug.