close apps when display off

Post your questions and help other users.

Moderator: Martin

Post Reply
Hilancoo
Posts: 4
Joined: 03 Dec 2012 12:21

close apps when display off

Post by Hilancoo » 03 Dec 2012 13:36

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: close apps when display off

Post by Martin » 03 Dec 2012 18:02

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

Hilancoo
Posts: 4
Joined: 03 Dec 2012 12:21

Re: close apps when display off

Post by Hilancoo » 03 Dec 2012 19:25

I think it save the battery!?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: close apps when display off

Post by Martin » 03 Dec 2012 21:08

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.

Post Reply