Hey there,
i want to close all open apps, when display off for 15 minutes.
Optional i want to exclude single apps from this flow.
How can i get this?
Thanks for help.
Hilancoo
close apps when display off
Moderator: Martin
Re: close apps when display off
Hi
You could build a flow using a trigger Display State: Off, an action Sleep: 15m and an action Kill App: ....
The sleep action will keep your device CPU active for the configured amount of time.
Killing a list of apps is currently not supported and killing/stopping apps in general should not be necessary on Android.
Why do you want to kill the apps?
Martin
You could build a flow using a trigger Display State: Off, an action Sleep: 15m and an action Kill App: ....
The sleep action will keep your device CPU active for the configured amount of time.
Killing a list of apps is currently not supported and killing/stopping apps in general should not be necessary on Android.
Why do you want to kill the apps?
Martin
Re: close apps when display off
I think it save the battery!?
Re: close apps when display off
The flow (especially the 15 minute sleep action) will keep the device CPU active. Using such a flow might even increase battery usage.
You could try to build a flow with "Periodic Timer: every 15m (Don't wake device)" and kill the apps when this trigger is executed and the screen is off. The trigger will not wake the device by its own but Android will execute it when another app wakes the device and the 15 minute interval has past.
You could try to build a flow with "Periodic Timer: every 15m (Don't wake device)" and kill the apps when this trigger is executed and the screen is off. The trigger will not wake the device by its own but Android will execute it when another app wakes the device and the 15 minute interval has past.