10-18-2007, 08:07 PM
Knows Where the Search Button Is
Join Date: Nov 2006
Carrier: AT&T (formerly Cingular)
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Power consumption with a persistent socket connection
Please Login to Remove!
I have an app I wrote that connects to my server and transfers image files around 3KB in size back and forth throughout the day. The connection stays open the entire time in case the server needs to send an image to my blackberry.
I find that the battery drains very quickly with the connection open. In 10-12 hours the battery is about 25% charged. Without the connection open the battery probably lasts 5 times longer.
Is it normal for there to be such a huge increase in power consumption? How does an application like Google Talk use so little power? Does it listen for a connection rather than keep one open? Curious if anyone has any insight into this.
Last edited by forcedfx : 10-18-2007 at 08:08 PM.