3 ms·
If memory serves, XMPP is pretty battery intensive on mobile because one has to maintain a consistent connection to the server to receive messages
by Jarwain 9y ago
If memory serves, XMPP is pretty battery intensive on mobile because one has to maintain a consistent connection to the server to receive messages
- NoGravitas 9y agoOn my mobile device, Conversations isn't a top battery user. Google Play Services are much, much higher, and there's another chat app that's usually in the top even though I rarely use it. Push notifications aren't magic -- they also have to maintain a consistent connection to the server, and re-activate it after a sleep. What having a push notifications provider like Play Services does is let you keep just one connection open for all apps. But adding just a few more doesn't make a big difference. I also have an IMAP IDLE connection open all the time (K9 Mail), and it doesn't move the needle, either.
- JepZ 9y agoWell, if the server and the client support the required extensions the battery impact is very low: https://conversations.im/#optimizations https://conversations.im/#optimizations Those extensions are pretty standard stuff nowadays. Here you can find an explanation with a few more details (section "Battery drain"): https://gultsch.de/xmpp_2016.html https://gultsch.de/xmpp_2016.html