r/androidterminal • • 18h ago

Android Terminal keeps getting killed

10 Upvotes

The Android task killer needs to take a chill pill. I've been developing with Claude on my Pixel 11 Pro Fold (16gb) and my HP Googlebook (32gb). Terminal sessions are constantly being killed when I switch away from them or leave them overnight. Losing work that way is extremely frustrating. This morning I lost a Claude session (which was running tests in the background) when I switched to another window in desktop mode on my Pixel.

On my HP, and even the Pixel, I have plenty of memory. The task killer seems to dislike apps that use CPU when you switch away from them. If Android is ever to be a development platform this has to be addressed. Maybe a developer option to mark apps as non-killable?

Yes, I have Disable child process restrictions -> on, and Allow background usage -> Unrestricted.