Push Notification: what is it? usefulness and battery impact? - Samsung Galaxy Nexus

Hi,
My daughter said that she prefers to avoid Viber because it uses push notification. Which she said will consume more battery. I was puzzled and wanted to lookup further on push notification. But most what I found was related to development. Can you please help me to clarify?
Q1- What is push notification?
Q2- When is push notification required (or become useful)?
Q3- Is it true that increase battery usage and why?
Thanks for any help.

2LoT said:
Hi,
I have suggested my daughter to install Viber on her iPhone 3GS. She said that she prefers to avoid because Viber uses push notification. Which she said will consume more battery. I was puzzled and wanted to lookup further on push notification. But most what I found was related to development. Can you please help me to clarify?
Q1- What is push notification?
Q2- When is push notification required (or become useful)?
Q3- Is it true that increase battery usage and why?
Thanks for any help.
Click to expand...
Click to collapse
If I remember correctly, It was basically a sync system. It syncs any new emails, notifications etc. Like the android sync system. But called push notification
Your wifi usage or data is almost "on" for it to work. So it's useful imo but also a battery hog.

http://en.m.wikipedia.org/wiki/Push_technology
So, if you would recieve 2 emails per day, the server initiates a push 2 times that day. Compared to having your phone constantly polling the mail server for new mail every hour or 30 minutes, what sounds more battery friendly?
Sent from my Galaxy Nexus using Tapatalk 2

2LoT said:
Q1- What is push notification?
Q2- When is push notification required (or become useful)?
Q3- Is it true that increase battery usage and why?
Thanks for any help.
Click to expand...
Click to collapse
So, why are you asking in the Galaxy Nexus forum about push notifications on the iPhone 3GS?
Push notification means that as soon as a message or data is available, its "pushed" to the device, rather than being "synced" on a timer interval. It uses more battery often because there's more data being transfered and the app needs to have a service running at all times to receive push notifications. It depends on the app and how its managed though. It can be more efficient than a frequent polling sync interval.
Push is useful for important email, messaging applications, and other apps that have time sensitive data. (Just think about it...)
Sent from my Galaxy Nexus using xda premium

2LoT said:
Which she said will consume more battery. I was puzzled and wanted to lookup further on push notification.
Click to expand...
Click to collapse
Er.. no. Pushing uses less battery. The service provider just needs to "wake up" the respective background process and send the push to it. In contrast, with a pull, the background process has to wake up and send data everytime it wants to poll the server. And then it has to stay awake long enough to receive a response back, which is what it would've had to do anyway in a push.
(True, if you set polling for once a week, it might save more battery, but that kinda defeats the purpose of all this.)
Warning: the above contents are complete BS that I made up 5 minutes ago.

Warning: the above contents are complete BS that I made up 5 minutes ago.
Click to expand...
Click to collapse
I am lost, did you mean I should discard your reply? Well, as your ranking is "Senior Member", I assume that you know what you are talking. So I hope your reply was not a joke, so let continue.
thebobp said:
Er.. no. Pushing uses less battery. The service provider just needs to "wake up" the respective background process and send the push to it. In contrast, with a pull, the background process has to wake up and send data everytime it wants to poll the server. And then it has to stay awake long enough to receive a response back, which is what it would've had to do anyway in a push.
Click to expand...
Click to collapse
If so, can you make sense of this support page which advises to disable push notification to save battery
http://help.orange.co.uk/orangeuk/support/personal/667853/3
Excerpted here the related paragraph:
Turn off Push Notifications – Apple
Some applications from the App Store use the Apple Push Notification service to alert you of new data. Applications that rely on push notifications may impact battery performance.
Click to expand...
Click to collapse
Could "Push Notifications" has a different meaning in an iOS?

Because disabling any data based notifications, push or otherwise will save battery, bug the above is true. Push notifications will use less battery than a pull/sync. It can depend on a few things, though, like how many notifications get pushed, how often, and whether with those two factors if the app is set to push for every new notification, or groups them together periodically.
Sent from my Galaxy Nexus

2LoT said:
If so, can you make sense of this support page which advises to disable push notification to save battery
http://help.orange.co.uk/orangeuk/support/personal/667853/3
Excerpted here the related paragraph:
Could "Push Notifications" has a different meaning in an iOS?
Click to expand...
Click to collapse
Disabling push notifications from the general settings menu of an iPhone disables the notifications completely. The app will no longer give you notifications unless you enter the app or setup a sync interval (if the app supports it). That's why it'll save battery. You can universally across the entire OS turn off notifications for specific apps, groups of apps, or all apps.
This again quickly highlights the point though: Why is this thread about an iPhone 3GS and notifications in iOS in a Galaxy Nexus forum?
Might I recommend one of the hundreds of iPhone forums? You'll surely get better answers there from people who actually use the device. Seriously.

2LoT said:
I am lost, did you mean I should discard your reply? Well, as your ranking is "Senior Member", I assume that you know what you are talking. So I hope your reply was not a joke, so let continue.
If so, can you make sense of this support page which advises to disable push notification to save battery
http://help.orange.co.uk/orangeuk/support/personal/667853/3
Excerpted here the related paragraph:
Could "Push Notifications" has a different meaning in an iOS?
Click to expand...
Click to collapse
No. Push is push. But when you are comparing push notifications against having no nofitications at all, then yes push notifictions will take some battery.

IMAP IDLE (push) protocol requires your phone re-establish IDLE connection to server at regular interval (usually < 30 minutes) before server time-out and terminates the IDLE connection. Eg. K9 email client refresh IDLE connection at 20-minute intervals.
If you have lots of emails, not sure if battery use is better. Difference with Sync is that you get email notification right away with Push.

With all due respect,
You have the terms wrong.
In android 2.2 and up to 4.0.x the push notification system is called C2DM (Cloud to Device Messaging). It's a protocol where a server sends a notification to the device and can wake the app it's meant to. It saves a LOT battery because the app doesn't need to poll anything. In fact, the app doesn't need to be running, only the google services framework needs to be running in background and it will wake the app, thus, saving battery.
In Jelly Bean, the system is now called GCM (Google cloud messaging).
For iOS users the system is very similar and apple handles those notifications.
In conclusion, push notifications save a lot of battery because the app doesn't need to be running and no polling period is needed. Also is faster: if you receive an email, you'll be able to see it right away and don't wait for the next server poll. The same happens with the twitter for android app and even Whatsapp.
In iOS something curious happen. In the iDevices, WiFi turns off few moments after the screen is off, and those push notifications are handled by the carriers data connection. In my case, I find that using my carrier's data instead of wifi, consumes more power because my cell signal quality is very poor in my country and a wifi connection is more stable, thus, I get a better battery life with WiFi always on. Maybe that's why on iOS devices the Push notifications are more power hungry.
Source: http://en.wikipedia.org/wiki/Android_Cloud_to_Device_Messaging_Service and http://en.wikipedia.org/wiki/Push_technology
Cheers!

Related

SMS-like or SMS replacement software options

My wife and I both now have WM phones (mine is a Tilt 2, hers a Pure) and we don't want to spend money on text messages to each other, since each text message would count twice... once for her receiving and once for me sending. (on a pay per use plan it would be $0.40 each!).
I was looking for other options. Push email is o.k. but often times there can be a minute or more delay, and my early tests of push gmail are not producing any confidence that it would push reliably.
So then I was thinking IM. It looks like IM programs would be battery hogs, and have to stay running in the background, and could easily be accidentally closed. Also, when the phone goes to sleep it seems like they then switch you to "offline".
So am I missing something? What are my sms like, non sms options?
Also does anyone have any small programs that would set up a auto-soft reset on a repeating schedule, it would be great if I could start the morning with a fresh phone. Thanks.
boufa said:
My wife and I both now have WM phones (mine is a Tilt 2, hers a Pure) and we don't want to spend money on text messages to each other, since each text message would count twice... once for her receiving and once for me sending. (on a pay per use plan it would be $0.40 each!).
I was looking for other options. Push email is o.k. but often times there can be a minute or more delay, and my early tests of push gmail are not producing any confidence that it would push reliably.
So then I was thinking IM. It looks like IM programs would be battery hogs, and have to stay running in the background, and could easily be accidentally closed. Also, when the phone goes to sleep it seems like they then switch you to "offline".
So am I missing something? What are my sms like, non sms options?
Also does anyone have any small programs that would set up a auto-soft reset on a repeating schedule, it would be great if I could start the morning with a fresh phone. Thanks.
Click to expand...
Click to collapse
Yes, any non-sms messaging app for your phone would obviously use data (3G or EDGE connection) to communicate, and would need to be left on all the time to be able to receive incoming messages and notify you in real-time...so battery drain would be in direct proportion to that.
The best solution I've ever seen for that is Palringo, a free IM-integrator app that can connect you through most of the common IM networks (yahoo, AIM, Google talk, etc), or just direct through it's own (if I remember correctly)...meaning that as long as you and she both have the palringo client installed, you don't necessarily have to use any of those services to be able to IM each other. It's also free, and I seem to recall that it can be set (but isn't by default) to stay connected even when the phone goes to sleep, but don't quote me on that part.
It would be great if one of these programs had a "listening" service that would run in the background and then notify you of the "call" similar to an email.
I have seen a few online, (my research has just begun) that indicates "push notifications". Sound interesting, the data connection would remain active all the time that does not bother me.
I seem to have lost the setting to switch the "x" button from close to minimize. That would solve the issue with accidental closing the program. It would have to be managed via the task manager.. no biggy.. and then if I can find a soft reset scheduler it would keep the open programs from overwhelming the phone.
boufa said:
It would be great if one of these programs had a "listening" service that would run in the background and then notify you of the "call" similar to an email.
I have seen a few online, (my research has just begun) that indicates "push notifications". Sound interesting, the data connection would remain active all the time that does not bother me.
Click to expand...
Click to collapse
If you'll find one, please let me know
lost the setting to switch the "x" button from close to minimize.
Click to expand...
Click to collapse
it's the other way around. default for winmo is minimize, there is
an htc bundled app called taskman. it's in settings - task manager which is making apps close when you click X
plenty of other apps can change that too
and then if I can find a soft reset scheduler it would keep the open programs from overwhelming the phone.
Click to expand...
Click to collapse
i made myself app doing change on backlight settings every morning and evening, I changed it for you to do reset
give it a try tell me if it's working for you and if error will pop up let me know what's it saying, at least line number

native twitter vs twitter texts - can someone help me think about this?

I am a twitter n00b and like to get some breaking news from CNN and cyanogenmod feed, and also Slickdeals. I have had my setup as follows: I have my twitter app set to manual sync, and I get text messages for tweets.
My question is: Is this setup saving me battery life? I'm thinking it is for two reasons:
1. for downtime with no tweets it's not pulling on the battery at all (I don't have that many people I follow so it's not that often, maybe a couple per hr on average)
2. text messages use less battery than data? (not sure about this one)
Would love to hear other's feedback and setups
Thanks
berardi said:
I am a twitter n00b and like to get some breaking news from CNN and cyanogenmod feed, and also Slickdeals. I have had my setup as follows: I have my twitter app set to manual sync, and I get text messages for tweets.
My question is: Is this setup saving me battery life? I'm thinking it is for two reasons:
1. for downtime with no tweets it's not pulling on the battery at all (I don't have that many people I follow so it's not that often, maybe a couple per hr on average)
2. text messages use less battery than data? (not sure about this one)
Would love to hear other's feedback and setups
Thanks
Click to expand...
Click to collapse
it is, but for 1, it's not pulling any data downtime or otherwise, unless you maually refresh.
As long as it's not updating/notifying in the background you should be good.
fachadick said:
it is, but for 1, it's not pulling any data downtime or otherwise, unless you maually refresh.
As long as it's not updating/notifying in the background you should be good.
Click to expand...
Click to collapse
Doesn't the twitter app run in the background and sync every hr or however often you specify or is it push and I'm not seeing it?
berardi said:
Doesn't the twitter app run in the background and sync every hr or however often you specify or is it push and I'm not seeing it?
Click to expand...
Click to collapse
no, it checks in the background (not push) based on the frequency you set it to (which is a big battery waster) - I thought you said you set it to manual, so in that case, it's only checking when you manually tell it to.
fachadick said:
no, it checks in the background (not push) based on the frequency you set it to (which is a big battery waster) - I thought you said you set it to manual, so in that case, it's only checking when you manually tell it to.
Click to expand...
Click to collapse
ok so your vote is to keep it to the texts and use the manual setting then?
Thanks!
berardi said:
ok so your vote is to keep it to the texts and use the manual setting then?
Thanks!
Click to expand...
Click to collapse
to save battery? yep

If 3rd party apps can't run in the background, how come eBay can notify me off stuff?

If 3rd party apps can't run in the background, how come the eBay app can notify me instantly when an Best Offer has been accepted or rejected when the eBay app isn't running? The notification appears in a similar way to an SMS notification, but with an eBay icon / theme.
Thanks
It's called a toast notification and a server pushes the message to your phone. All live tiles require a server to push their data to them because they can't run in the background.
because it is getting pushed like push mail (hotmail , exchange ).
ceesheim said:
because it is getting pushed like push mail (hotmail , exchange ).
Click to expand...
Click to collapse
Ah. So the "notify me" setting is actually a push notification setting. That'll drain power, right?
at45 said:
Ah. So the "notify me" setting is actually a push notification setting. That'll drain power, right?
Click to expand...
Click to collapse
Doesn't seem like it would make a huge difference. I imagine the phone just keeps a single connection to the push server, no matter how many applications are using it.
at45 said:
Ah. So the "notify me" setting is actually a push notification setting. That'll drain power, right?
Click to expand...
Click to collapse
If it's anything like Apple's setup, and I'd imagine it is, it's considerably more efficient than background execution where 99% of the time is spent in a needless do-nothing loop.

[Q] K9 mail/push/ Excessive Battery drain

I've been trying to figure out why my battery life diminishes so quickly (stock battery).
In the battery info screen, i discovered my awake time was nearly 50% of my uptime!
Using spareparts, determined that the offending program was k9 mail.
The software is configured for imap push on 2 accounts (both on the same server - served by hostgator). Push is only set to for the inbox folder on each of the accounts. Background sync in k9 settings is set to always. Idle refresh frequency is set at 24 min for each account. Mobile data always on is enabled in the main android network settings (otherwise push doesn't work after the screen is off for 5 min).
When no email is received, awake time goes down, but whenever an email comes in, at least a minute is added to the awake time each time.
In conclusion, it would appear that whenever a push event occurs, k9 does not let the system go back to sleep until at least a minute has elapsed. Why not receive mail, then resume sleep immediately...
Is this lack of resuming sleep a function of the program, or something controlled by k9? Any way to force it back to sleep after the even has occurred?
I thought I'd post some thoughts since it's been a few days.
Digging around here and other forums didn't reveal a whole lot. The bugtracker at the developer's site gave instructions on how to enable logging on the client.
Reviewing the logs, it's clearly obvious that after each session, a wakelock of 60sec is enacted. This is where my awake time runaway is coming from! The more emails I get, the longer it stays awake. For every message received, wake time is incremented by a min. If a new message arrives 61 seconds since the last, awake time will increase by 2 min. This is a cumulative effect which gets worse as more messages are received.
Other clients such as maildroid seem to release the phone back to sleep as soon as the email is received.
I'm hopeful the folks at k9 find a solution for this in the near future. I think the client is one of the better ones with regard for granular configuration. Maildroid does the job, but wasn't a whole lot more robust than the htc client (other than for push support). Seven has some strange validation processes.
I know I can go by way of googlemail, but the accounts in question cannot be forwarded to google. So it leaves with choices.
1) Leave it as is until fixed and let the battery drain continue
2) Still have it setup as IMAP, but disable push altogether - this works, but to get new email, it has to resync the whole folder, which becomes more and more time consuming as the folder grows. A checking interval is set up (poll every x min)
3) similar to 2, but manual polling
4) other suggestions??
gpz1100 said:
4) other suggestions??
Click to expand...
Click to collapse
5) get the source and fix it yourself.
I'm using k9 for 3 accounts and I've never noticed a battery drain.
If I knew how to program I would be all over this.
Unless your accounts are configured for push, and depending on the volume of email you receive, you may not notice this issue.
gpz1100 said:
If I knew how to program I would be all over this.
Unless your accounts are configured for push, and depending on the volume of email you receive, you may not notice this issue.
Click to expand...
Click to collapse
I definitely use push, but the volume is pretty low.
Between the different accounts, i get a good 100+ mails a day... Easily subtracting nearly 2 hrs of wake time to my battery life when the device isn't really being used.
any updates? I too am facing with the high battery usage of K9, and I do get a lot of emails.
While using gmail client, the battery lasts a lot longer, ~36 hours. With K9, barely 14 hours!
Part of my fix was changing roms. Although both are based on the same ota, the current one doesn't seem to have issues with k9 (or not as much).
You might look into updating to the latest k9 too.. 3.708 is the most current, not on the market though - you need to go to dev's site.
yeah. ROMs it a good notice:
I dont have problems on the CyanogenMod 11 with battery drain

[Q] Specified time for email notifications?

So I am trying to find a way to get my email notifications to turn on and off at specified times. The reason is this. I have my work exchange email account on my Galaxy Nexus. When I am at work, I'm usually at my computer and thus can see all my email. Therefore I have my email notification turned off on my phone since I don't want to constantly clear notifications. But when I leave work, I'd like to have my email notification turned on so that I can be notified when I get a new email.
Is there anyway I can get the email notifications to be turned on and off at specified times in the day?
You can get one of the many apps to turn on/off notifications for times. Most of them are branded as "quiet hours" type apps for sleeping, but you could surely configure for different times during the day.
Tasker or Locale could surely do this too if you want it based on where you are to turn off notifications (i.e. turn off notifications at work, then enable when you leave).
martonikaj said:
You can get one of the many apps to turn on/off notifications for times. Most of them are branded as "quiet hours" type apps for sleeping, but you could surely configure for different times during the day.
Tasker or Locale could surely do this too if you want it based on where you are to turn off notifications (i.e. turn off notifications at work, then enable when you leave).
Click to expand...
Click to collapse
I have considered that, but the problem is that I do not need to turn off all notifications. I just need to turn off the notifications for Android's stock email app. I still want to keep the rest of my notifications.
Bump
Anybody got an idea?
Search for the Road Sync on the market.
i know touchdown does exactly what you're talking about, you could always try like k9 mail or some other email app.
i'm not sure stock has this as ive never used it for corp email. there are a couple features i needed to have that touchdown does have

Categories

Resources