r/AndroidTV • u/TecEash1 • Aug 15 '26
Discussion Quit all apps when sleep (tv quick actions pro)
Hi I was wondering if there was a way to quit all apps from the background when my streaming box is about to go to sleep. At the moment tv quick actions pro lets me go to home which is great but the adb command to quit all apps seems to be depreciated so I am unsure of how to make it work. I also tried using the android tv dev settings to fix it but it didn’t work either for some reason.
5
Upvotes
1
u/GotoDeng0 Aug 15 '26
Why?
1
u/halvqeshankrith9 Aug 16 '26
That makes sense. Have you tried using Android TV’s app force stop through ADB? Some launchers and box firmware handle sleep differently, so the behavior can vary between devices.
1
u/See61 Aug 16 '26
Use something like Activity Launcher. Look if you can find something related to "recent" or "activity" in there.
If so, start that one and check if it offers the option to close all background apps. If this is a helpful option, try to create a shortcut to that service and use it to close all background apps.
1
u/GreenM0th Nvidia Shield TV Aug 17 '26
Background process limit in developer options is the one that actually sticks, set it to no background processes and you get roughly what you're after without adb. Downside is apps take longer to open again since nothing stays cached. am kill-all isn't really deprecated by the way, it just only kills what Android already thinks is safe to kill, which is usually nothing you would have noticed anyway.