Ubuntu Touch OTA-10 apps stop when not in forground?
Im curious why apps stop when not in the forground (e.g. when I run tail -f foo.txt
and i switch to my web browser the command is stopped when I switch back to the terminal).
Further, I'm curious how I can adjust this so they continuing running when not in the forground?
This is due to the application life-cycle on Ubuntu touch.
Only the currently focused app is allowed to be running and is entitled to use up as much of the system resources as it wishes. All unfocused apps get suspended and could potentially be killed when memory pressure get's too high.
tvoss wrote a detailed blog post on the life-cycle here and it also links to some more in depth documentation on the if's and why's