News for hackers. Stuff that matters.
Re:XMPP works – 1 July 2020 by Arnt on Thursday July 09, 2020 @03:18AM (#23777760)
I have an android app that uses background connections; it works fine on modern Android. The connections are broken when people walk in and out of WLAN coverage, but as long as the app uses minimal CPU and network traffic Android doesn't intercede much.
Re:XMPP works – 1 July 2020 by toast0 on Thursday July 09, 2020 @02:49PM (#23783628)
Hmmm. Doesn't Android Doze randomly kill/pause your background execution?
Re:XMPP works – 1 July 2020 by Arnt on Friday July 10, 2020 @06:24AM (#23789954)
Not so I've really noticed. The user starting apps that require very much memory probably does too, but that's also a minor effect.

If you don't use scheduled jobs to reopen your connections, WLAN/mobile switching is a pain and there are some smaller similar pains. If you solve that big pain and make sure to use very little battery power, the smaller pains go away.