App pausing - how can I do it?

56 views
Skip to first unread message

Qbi Wan

unread,
Jul 5, 2026, 7:41:10 AMJul 5
to Automate for Android
Hi. In Android 16 I can pause app. How can I achieve it in Automate? Any suggestions? Walk arounds?

Mahammad Rafi

unread,
Jul 5, 2026, 9:10:50 AMJul 5
to Automate for Android
Use "app in foreground" block

Henrik "The Developer" Lindqvist

unread,
Jul 5, 2026, 9:47:30 AMJul 5
to Automate for Android
It depends on what you by "pause"?
  • To move an app to the background, use the Interact block with action Home, or App start block with action Main and category Home.
  • To suspend an app, use the Shell command privileged block to execute pm suspend <app package>. Ensure to also setup an "Privileged service start method" in settings.

Qbi Wan

unread,
Jul 5, 2026, 2:27:39 PMJul 5
to Automate for Android
1000036988.jpg
I mean this ⬆️

Henrik "The Developer" Lindqvist

unread,
Jul 6, 2026, 2:23:04 PMJul 6
to Automate for Android
I can't find any official way to "pause".
The latter point given it the previous reply seems to work in a similar way, but it can then only be unpaused but a shell command, not by clicking the gray/disabled app icon!

мJ ZЖУ

unread,
Jul 8, 2026, 9:03:57 AMJul 8
to Automate for Android
App timer feature maybe he's asking if Automate can be used with App Wellbeing or not?

Henrik "The Developer" Lindqvist

unread,
Jul 8, 2026, 9:22:40 AMJul 8
to Automate for Android
There's no public API for that.

Qbi Wan

unread,
Jul 9, 2026, 7:29:03 AMJul 9
to Automate for Android
Wait, so pause function is part of Digital Wellbeing / Screen Time API? That's nuts XD 
So there's no chance for it to be implemented in near future? It depends on integration from Google's side?

мJ ZЖУ

unread,
Jul 9, 2026, 8:00:41 AMJul 9
to Automate for Android
It soft pause the app momentarily. Prevent other person running it with lock.

You can also use System set block to approach that but it seem less simple.

Henrik "The Developer" Lindqvist

unread,
Jul 9, 2026, 9:17:09 AMJul 9
to Automate for Android
As said, use the Shell command privileged block to execute pm suspend <app package>, there's no API for regular apps to use.
Reply all
Reply to author
Forward
0 new messages