Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Iphone Push notifications

  • 15-07-2011 11:31am
    #1
    Closed Accounts Posts: 4,235 ✭✭✭


    Does anyone happen to know the definitive answer to this. Google around and every forum it seems has its own ideas and conflicting view points.

    Push notifications on the iphone (4 specifically). Do they maintain a kind of ping connection to the server and thus consume battery life or is the connection / notification purely 1 way via small packet info from the server and the phone only connects when it receives this?

    Anyone?


Comments

  • Registered Users, Registered Users 2 Posts: 1,189 ✭✭✭deep1


    iregk wrote: »
    Does anyone happen to know the definitive answer to this. Google around and every forum it seems has its own ideas and conflicting view points.

    Push notifications on the iphone (4 specifically). Do they maintain a kind of ping connection to the server and thus consume battery life or is the connection / notification purely 1 way via small packet info from the server and the phone only connects when it receives this?

    Anyone?

    Apple’s PNS server will have a constant TCP/IP connection to your iPhone (yes, they’ll be keeping connected to you, like they already do for MobileMe push if you use that service). Once they get the alert from the developer, they will “push” it out to your iPhone, so instead of 10 apps using constant connection, Only PNS server will be in connection and notify.

    Regarding battery i have about 10 push notification apps and doesn't effect that much, the only way to test is use it.


    Have a read here:
    http://www.engadget.com/2008/06/09/iphone-push-notification-service-for-devs-announced/


  • Closed Accounts Posts: 4,235 ✭✭✭iregk


    Cool thanks man.


  • Registered Users, Registered Users 2 Posts: 826 ✭✭✭dave oc


    Have a similar question about push notifications and cant seem to find a answer anywhere: Im wondering does the number of apps that are using push affect battery life? Because push keeps a constant connection to Apples server does it make much difference to battery life if you have 1 app or 10 apps using push? Since iOS5 if starting using push for a few more apps and Im just trying to work out if any battery loss is IOS5 related or simply push being set up for more apps.


  • Registered Users, Registered Users 2 Posts: 68,190 ✭✭✭✭seamus


    No, it makes no difference. All push notifications come through the same connection, so mainatining that connection always consumes the same amount of power.

    Obviously if you're receiving regular updates from multiple apps, that in itself will consume more power. But receiving 100 notifications from one app consumes the same power as 100 notifications from 10 apps.


  • Registered Users, Registered Users 2 Posts: 826 ✭✭✭dave oc


    Thanks for the reply. I was thinking it was something like that, I know obviously the more notifications I receive the more the battery will be drained but most of my apps wouldn't get too many notifications anyway so might try leaving more turned on.


  • Advertisement
Advertisement