New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS and Apps All your questions and discussion of iOS or iOS Apps.

Push notifications explained


Post Reply New Thread Subscribe

 
Thread Tools
codz

 
Member Since: Nov 24, 2010
Posts: 2
codz is on a distinguished road

codz is offline
I did a bit of research about push notification on iPhone and the best explanatory text is here:


Basically, in regard of a iPhone user which activated the push notifications (one or more apps using it, being the same thing), the Apple's APNS server mantains a "persistent IP connection" with your iPhone in order to deliver notifications when the app (Facebook, email, eBuddy a.s.o) needs to 'say' something to you.

The notification itself it's a 256bytes of data (at most). But what I wanted to know is how the "persistent IP connection" works and how it's translated in data usage on the iPhone and in battery consumption.

It is established that push notifications will work either with a data plan (using cellular data) or over WiFi. On other words, your push enabled iPhone will send/receive bits of data frequently with APNS in order to be ready for any push notification. This can be demonstrated by checking the Usage window (in General Settings) from time to time and see the cellular data usage grow some Kbs every 10 minutes or so. If you are on Wifi, this way of data transfer is preffered (in order not to make traffic on user's data plan) and the "persistent IP connection" is done trough Wifi.

That explains also why the iPhone consumes more battery in an area without WiFi connection if you have Wifi enabled and push enabled - during this permanent connection with APNS the iPhone tries to use Wifi (seeing it enabled) searches for a Wifi network, it does not find it, then goes to use cellular data. All this searching for WiFi network frequently consumes battery.

That explains also why with push enabled an iPhone consumes more battery on 3G rather than on EDGE/2G (3G disabled) - because every 3G connection uses more battery because it requires connection to at least two carrier towers (as opposes to only the closest tower on EDGE/2G) and that translates to increased power (Watts) from the iPhone.

Unfortunately disabling 3G is not really an option for iPhone users (especially on iOS 4.x.x) because on EDGE/2G you can't receive calls while a data connection is in progress (you browsing the Internet or push notification keeping that "persistent IP connection" with the APNS - which is also data, or a faulty app like Skype in the background sending data). But that's another explanation (3G/EDGE explained).

Conclusion:

If you want push notification (a very nice functionality) - enable 3G, enable WiFi only(!) where you have a WiFi connection - and be prepared for only one day of normal use of the iPhone, or even less if you are a heavy user of apps that require data transfer on 3G

If you want two days of using the iPhone (mostly for calls) - disable push notification, set Manual Fetch to your email accounts, enable 3G (in order not to have missed calls because of the EDGE/2G impossible voice over data)

If you want three days of using the iPhone - disable push notifications, set Manual Fetch to your email accounts, disable 3G (but be sure there is no app in the background using data connection), and set Airplane mode during the night (understanding you will not be able to receive any calls during that)

Note: The above are for the iPhone 3GS, as for iPhone 4, having a 1420mAh battery vs 3GS's 1219mAh, it should last two days with push and three days without push.
QUOTE Thanks
schweb

 
schweb's Avatar
 
Member Since: Oct 27, 2002
Location: Cleveland, Ohio
Posts: 13,198
schweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond repute
Mac Specs: MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2

schweb is offline
I've moved your post to a more proper forum; please be sure to check the forum descriptions in the future to find the best place to post.

By posting in the right forum you help people not only find your question faster, but it helps others looking for the same information in the future.

Thanks for understanding!

schweb | community leader
flickr facebook twitter tumblr google+ about.me

Mac-Forums: On Twitter | On Facebook | On Flickr

QUOTE Thanks
codz

 
Member Since: Nov 24, 2010
Posts: 2
codz is on a distinguished road

codz is offline
The link I've posted works, erasing a good reference link was not very nice, wasn't it? I post it again below, for fellows to read if they want to learn about push notifications:

**link removed**

I've posted in the main iPhone area because my thread about push notifications is not related to a specific iOS or an app, it's more a hardware function. But it's your decision and I can't do anything but oblige
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,008
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
It was not working earlier.

How about the link to the original page from Apple - here - instead of a 3rd party site just reprinting the original in a much harder to read format.

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.
QUOTE Thanks
schweb

 
schweb's Avatar
 
Member Since: Oct 27, 2002
Location: Cleveland, Ohio
Posts: 13,198
schweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond reputeschweb has a reputation beyond repute
Mac Specs: MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2

schweb is offline
Quote:
Originally Posted by codz View Post
The link I've posted works, erasing a good reference link was not very nice, wasn't it? I post it again below, for fellows to read if they want to learn about push notifications:

**link removed**

I've posted in the main iPhone area because my thread about push notifications is not related to a specific iOS or an app, it's more a hardware function. But it's your decision and I can't do anything but oblige
I've removed your link again. bobtomay posted the original below, don't really feel like allowing Russian retranslations from sketchy sites.

As for forum location, Push is an iOS function, it has nothing to do with hardware and it's certainly not iPhone specific since they also happen on the iPad.

schweb | community leader
flickr facebook twitter tumblr google+ about.me

Mac-Forums: On Twitter | On Facebook | On Flickr

QUOTE Thanks

Post Reply New Thread Subscribe


« SMS Ringtones | 4.2 upgrade - Do you notice a slight speed bump? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Wifi Off and Notifications On? cad2blender iPod Hardware and Accessories 1 09-09-2010 09:26 PM
Steve Jobs teams with Calif. governor to push organ donor registry the8thark Apple Rumors and Reports 0 03-20-2010 02:50 PM
Push email in Gmail. Eels1976 iOS and Apps 1 07-13-2008 11:33 AM
Delayed Growl notifications of RSS news update zackatoustra OS X - Apps and Games 0 04-28-2008 03:55 AM
How far do you have to push a cd into the slot before it takes it? BeyondxBelief Apple Notebooks 2 10-07-2003 01:00 AM

All times are GMT -4. The time now is 08:36 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?