Push or pull

johnnyshinta

Well-known member
Jul 30, 2010
2,666
22
0
Which is more efficient. I started using the messaging widget. So now I'm using the email app instead of gmail app. It has an option for fetch of push. Which is better for battery?

Sent from my DROIDX using Tapatalk
 
Actually, you can't make a blanket statement about which is better.

Push works by opening a socket to google, starting a read on that socket, then shutting down the radio.

Because of the rules of TCP/IP, that socket will time out in approximately 16-to-24 minutes, and the system will have to wake up the radio and establish a new socket.

If mail comes in sooner than 18(ish) minutes, you get it instantly, because the socket status change was detected when the socket became readable (because google sent you mail over that socket, which triggeres the cell tower to notify your phone at the end of the sleep cycle (Your phone listens to the tower for 0.577 ms and then sleeps for 4.615 ms. During sleep the radio's are essentially switched off).

So you might think that if you set your fetch interval at 18 minutes or longer (the longest socket duration), you would use the same amount of radio time.

But that's not right because re-establishing a socket takes very little network traffic, whereas checking email takes quite a bit of traffic.

If you have a short fetch interval, it will cost much more battery, because your phone not only has to wake up the radios, it also has to send and receive a significant amount of traffic to determine if there is any new mail.

But if you set your fetch time at 30 minutes (or more) its quite possible that fetch will save battery over push.

However, (And this is key), Google us using one socket now days to signal/synchronize all services (calendar, mail, Gtalk, Gvoice, Market, etc.)

So if you are going to have any of these running anyway, you will be waking up the phone every ~18 minutes for socket maintenance. You can't avoid this unless you turn off Sync and background data in settings.

So given that, You might as well use push for Gmail too.
 
Last edited:
  • Like
Reactions: cb05stang
Hmm decisions decisions. I just started using the email app and im not sure it is as good as gmail

Sent from my DROIDX using Tapatalk
 
Hmm decisions decisions. I just started using the email app and im not sure it is as good as gmail

Sent from my DROIDX using Tapatalk

No, its not. And neither of them is as good as k-9 mail.

K-9 does everything, so you might want to try that out. Once you get use to the setup, you will find it does everything you need, and will handle multiple accounts.
Once you try k-9 I predict you will never bother with the others again.
 
Re only reason I'm using the email app is it works with the messaging widget.

Sent from my DROIDX using Tapatalk
 
Which messaging Widget?

Most third party widgets can be set up to use any email app you set.
 
Ah, ok. Not familiar with it.

But Widgets are a dime a dozen, so just don't be buying a new house to match your Ash Trays, if you know what I mean.
 
Right now there is 1 for push and 1 for fetch. Anyone care to break the tie?

Sent from my DROIDX using Tapatalk
 
I must have misunderstood you're post. I thought you were saying fetch is better for battery

Sent from my DROIDX using Tapatalk
 
I must have misunderstood you're post. I thought you were saying fetch is better for battery

Sent from my DROIDX using Tapatalk

After the paragraphs of explaining how Google push works and how pull may be better in some cases his last line was a vote for push.

Bottom line... if you WANT your email as fast as possible PUSH is best for battery life. If you DON'T WANT your email as fast as possible PULL by setting an email app to poll at intervals over 30 minutes and it may save a little battery life.
 

Trending Posts

Forum statistics

Threads
962,708
Messages
6,991,476
Members
3,164,904
Latest member
Kinita