The only reliably persistent thing which keeps running in background is Termux.
I don’t know how, but it just doesn’t die in background. I also use it for downloads with wget. I can lock the phone, and it will keep working until it’s done. Any browser just has a high chance of dying.
Make sure the browser’s battery usage is set to unrestricted and the swap file (called “RAM Plus”, “RAM Extension” or similar) is enabled and set to a high amount.
The only reliably persistent thing which keeps running in background is Termux.
I don’t know how, but it just doesn’t die in background. I also use it for downloads with wget. I can lock the phone, and it will keep working until it’s done. Any browser just has a high chance of dying.
Make sure the browser’s battery usage is set to unrestricted and the swap file (called “RAM Plus”, “RAM Extension” or similar) is enabled and set to a high amount.