Some android phones have installed the battery saver application to extract maximum performance from battery. Please watch out for power saver apps / mode on your device to fix the issue, you may add Jabber in the white list of the power saver apps / mode. This will also explain why you encounter the similar issue for some apps like facebook, gmail, wechat etc..