[jdev] Suspending and resuming presence

Stephen Pendleton spendleton at movsoftware.com
Sat Sep 23 14:44:30 CDT 2006

There may be a small difference in battery savings, but since you still need
to keep an active data session going I doubt it is appreciable. I do not
think there is much of a difference between an active data session that is
transmitting and receiving application level data versus an active session
that is not.

I run a mobile XMPP client on mobiles all day long with EDGE/GPRS
connections and they are constantly sending and receiving location and
presence data and I haven't seen an issue as long as I charge the devices
every couple of days.

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
Tony Yat-Tung Cheung
Sent: Saturday, September 23, 2006 11:21 AM
To: jdev at jabber.org
Subject: [jdev] Suspending and resuming presence

I am a developer of a wireless Jabber client. I think the idea of  
pausing/resuming presence information is an interesting one.

It is neat to block incoming presence information by using the  
privacy list. To resume the incoming presence information, we will  
have to do a presence probe on every roster. This is certainly not  
ideal. There should be a way for us to retrieve the presence changes  
(deltas) only. We may as well bring this idea to improve the XMPP  

Is there really a huge battery savings? Has anyone performed any  
field testing of this idea?


Tony Cheung

More information about the JDev mailing list