This applies to:-
Gmail (new mail)
Market app updates
Google Intent (Chrome2Phone for example)
I have a Nexus One on a Vodafone contract. It doesn't have the Vanilla ROM but the Vodafone ROM. What I've noticed is that, with each of the 3 apps listed above, the information pushed to the phone is almost never instant. New email notification on Gmail, for instance, can take upto 40 (yes forty!) minutes to come on my phone. Although on certain occasions I get the notification within a second.
From reading experiences on forums, I think if your phone is unlocked then the push notifications are near instant. This makes me think that the Vodafone ROM might be interfering, but it shouldn't if I have 3G mobile internet access on all the time, which I do. Auto-sync is also, always, enabled.
So can Google's push notifications be interfered by mobile carrier networks in anyway? Thanks.
Hi,
having read about push notifications the behavior you described is exactly the one intended. If the phone is idle and locked the notifications are delayed (in fact by Google) to not drain the battery. Might look for the link later. Was in the development documentation of push notifications.
Sent from my HTC Desire using XDAApp
slow23 said:
Hi,
having read about push notifications the behavior you described is exactly the one intended. If the phone is idle and locked the notifications are delayed (in fact by Google) to not drain the battery. Might look for the link later. Was in the development documentation of push notifications.
Sent from my HTC Desire using XDAApp
Click to expand...
Click to collapse
Hi,
Thanks for your reply. It is very interesting that Google withholds notifications intentionally. But I'm not sure it has been implemented correctly because, for example, one would assume that the intent delivered in case of Chrome2Phone should be near instant. In practice it's not always so.
On my Wildfire I still get new Gmail notifications instantly even if my phone screen is off. Same like if I'd receive a SMS message. I think that behavious is as designed by Google
However, when you setup your gmail account to receive emails from other accounts (via POP3) then this is incrementally delayed by Google depending on your email traffic.
Probably you have auto-sync unchecked? My gmail notifies me instantly if I turn on auto-sync.
Sent from my HTC Desire using Tapatalk
Could not understand why my new device was burning through it's battery like it was a desktop computer. I can't remember where but I stumbled across the application OS monitor and took a look to see anything untoward.
Well I have an exchange email server that I use to sync all my contacts/calendar and emails.
It would appear that the inbuilt google mail app tends to CONSTANTLY drain power whilst it is set up, I did have push mail activated and it was set to do background data et al.
Removing this has fixed my battery drain issue and I'm now using Touchdown to manage my email exchange, with push mail activated and having no such problems at all!
I'm not suggesting that everyone switches to Touchdown but it is definitely worth trying a different client if you are having problems with poor battery performance!
Hope this helps someone as it was REALLY beginning to annoy me, not even lasting a night out!
Did Google show up under your battery use?
hah2110 said:
Did Google show up under your battery use?
Click to expand...
Click to collapse
Not quite sure what you mean? OS monitor showed the system using a few resources every now and again but mail was using 30-40% almost constantly draining the battery!
Also found that leaving WIFI enabled uses VERY little battery and so I've kept that alive so that the current mail app I'm using doesn't poll and get no connection all the time (personally what I think was happening is due to me living in the middle of nowhere there was no signal and so it kept polling until it could find a signal which was using up resources).
Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Hope this helps some of you guys.
recklesslife85 said:
Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Hope this helps some of you guys.
Click to expand...
Click to collapse
As a general rule, sync management should always be in play...especially on a brand new phone. This includes email. Push email eats battery badly. Also included in this is location settings and brand specific apps. Very few people think of HTC hub.
alodar1 said:
As a general rule, sync management should always be in play...especially on a brand new phone. This includes email. Push email eats battery badly. Also included in this is location settings and brand specific apps. Very few people think of HTC hub.
Click to expand...
Click to collapse
Actually Polling email affects the battery more than push. Polling your phone will connect every X amount of minutes to poll the server for new mail so it's constantly using data every time it checks. Push email the emails are only pushed to the phone when there are new messages so data is only used when the server pushes the message to your phone instead of your phone connecting to poll your email account every 15 minutes or every hour, sending data to the server, the server checking if there are messages, then pulling the data down.
There has been debate on this but think about it.
if you poll for email every 15 minutes the phone is opening a data connection to the server every 15 minutes even if there are no messages. with push you only use data when the message is pushed to you.
recklesslife85 said:
Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Click to expand...
Click to collapse
where do you check the settings for the HTC HUB syncing?
piimp said:
where do you check the settings for the HTC HUB syncing?
Click to expand...
Click to collapse
Settings - Accounts & sync - HTC Sense
jlevy73 said:
Settings - Accounts & sync - HTC Sense
Click to expand...
Click to collapse
i was doing this before but i wasnt seeing HTC Sense thats y i asked, but i just realized its because it wasnt added to the list yet, so i just dint add it since im not even using it
Yeah i turned it off and im lasting a day and a half now. I like it but it's not worth all that battery life.
Sent via Motorola Xoom Wi-Fi only tablet powered by Android 3.1 Stock Honeycomb using Tapatalk Pro
HTC Hub is useless anyway. I don't know why anyone would want to use it.
Sent from my HTC Sensation 4G using XDA Premium App
When you have the two check boxes to sync htc hub and htc sync checked what info does it sync anyway?
seatown1two said:
When you have the two check boxes to sync htc hub and htc sync checked what info does it sync anyway?
Click to expand...
Click to collapse
my guess is the hub is to let you know of new widgets & crap & htc sync is is for their online site that can locate your phone, backs up your contacts/sms, & all of that
Honestly the screen is the culprit of battery drainage on my phone. I turned it all the way down and its been 5 hours and my battery is still 93%
Sent from my HTC Sensation 4G using XDA App
Jackasaur said:
Honestly the screen is the culprit of battery drainage on my phone. I turned it all the way down and its been 5 hours and my battery is still 93%
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
graffixnyc said:
Actually Polling email affects the battery more than push. Polling your phone will connect every X amount of minutes to poll the server for new mail so it's constantly using data every time it checks. Push email the emails are only pushed to the phone when there are new messages so data is only used when the server pushes the message to your phone instead of your phone connecting to poll your email account every 15 minutes or every hour, sending data to the server, the server checking if there are messages, then pulling the data down.
There has been debate on this but think about it.
if you poll for email every 15 minutes the phone is opening a data connection to the server every 15 minutes even if there are no messages. with push you only use data when the message is pushed to you.
Click to expand...
Click to collapse
I think you misunderstand push vs pull in this context.
Pretty much all home WiFi routers as well as many mobile operators put your phone behind NAT. Also, every time you change networks your phone may end up with a different IP address. This means your phone is effectively unreachable for push messages in the way that you describe: sitting idle waiting for a message.
To be addressable by the push server it will need to poll each time it changes IP. To work around the NAT issue it will need to poll frequently regardless of IP changes, just to keep an open channel. (This because NAT mappings time out after a short while.) Push in the traditional sense is cool just because your message arrive instantly.
The idea that push saves battery is really just because of how Apple introduced push. They don't allow other apps to poll or to keep a traditional push connections open in the background. Instead they force all apps to use their push system, which results in a number of battery savings:
* Keeping 1 channel open with Apple's server vs. tons of poll/push connections with various servers is more efficient, simply because there is much less activity.
* That 1 channel is kept open with a specifically designed and very efficient protocol. It's not exchanging a lot of data just to keep the connection alive. (E.g. when you poll your e-mail you have a TCP handshake, an SSL handshake, an IMAP login and then a message list; much less efficient than the simple poll done by Apple.)
* Since no apps are pushing or polling themselves, they can be terminated or suspended completely without running stuff in the background. They don't wake up until the user responds to an Apple push message.
Elvis_Freshly said:
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
I don't use hub or sense (though Sense is always listed in my running apps). My question is my screen is always 95% of the drain. You indicate that widgets are also included in the mix. I have Pure Messenger widgets, doubletwist (which is ALWAYS running even when its not a widget or activated by me), FB for android, Twitter, Twidroid and Friendcaster as widgets on my screens. However, I have Fcaster, Twitter, Twidroid and Pure messenger (for g-mail) polling every 4 hours. I am getting killed when I perform any extended action like taking a few pics and talking on the phone. If I open up any FB app I can watch the battery start to tick backwards like an odometer. Are these widgets responsible for this, though they are are scheduled for polling?
xnpu said:
I think you misunderstand push vs pull in this context.
Pretty much all home WiFi routers as well as many mobile operators put your phone behind NAT. Also, every time you change networks your phone may end up with a different IP address. This means your phone is effectively unreachable for push messages in the way that you describe: sitting idle waiting for a message.
To be addressable by the push server it will need to poll each time it changes IP. To work around the NAT issue it will need to poll frequently regardless of IP changes, just to keep an open channel. (This because NAT mappings time out after a short while.) Push in the traditional sense is cool just because your message arrive instantly.
The idea that push saves battery is really just because of how Apple introduced push. They don't allow other apps to poll or to keep a traditional push connections open in the background. Instead they force all apps to use their push system, which results in a number of battery savings:
* Keeping 1 channel open with Apple's server vs. tons of poll/push connections with various servers is more efficient, simply because there is much less activity.
* That 1 channel is kept open with a specifically designed and very efficient protocol. It's not exchanging a lot of data just to keep the connection alive. (E.g. when you poll your e-mail you have a TCP handshake, an SSL handshake, an IMAP login and then a message list; much less efficient than the simple poll done by Apple.)
* Since no apps are pushing or polling themselves, they can be terminated or suspended completely without running stuff in the background. They don't wake up until the user responds to an Apple push message.
Click to expand...
Click to collapse
So traditionally push would usually take up less battery life? (with Apple, Blackberry) but with Android it eats more battery? hmm I like to get my mail pretty quickly so setting my email to poll every 15 minutes takes up less battery then if it was pushed? It just seems odd that it would eat more battery with android but the opposite on apple and BB devices (I only know about BB never owned an iphone or ipad, never will)
Elvis_Freshly said:
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
How much of a battery increase did you notice from removing friend stream? I had the friend stream widget and just removed it. Hopefully that will help. I also use the HTC calendar widget, mail widget, weather widget and message widget
graffixnyc said:
How much of a battery increase did you notice from removing friend stream? I had the friend stream widget and just removed it. Hopefully that will help. I also use the HTC calendar widget, mail widget, weather widget and message widget
Click to expand...
Click to collapse
I go from generally...well..let me give u today's numbers.
5:11pm Unplugged at 100%
8:54pm 74% with moderate usage. (Tweetdeck, 47 texts, Google Talk non stop, 5 phone calls about 15 minutes or so a piece)
I only have Engadget, Bookmarks, Google Music and power Widget on Display and I am doing great... i generally recharge once a day now.
So I am 100% sure Friendstream is the Display killer for battery and HTC Sense is the other culprit...Disable these 2 and you will see what I mean.
Elvis_Freshly said:
So I am 100% sure Friendstream is the Display killer for battery and HTC Sense is the other culprit...Disable these 2 and you will see what I mean.
Click to expand...
Click to collapse
How do you disable HTC Sense?
galaxys said:
How do you disable HTC Sense?
Click to expand...
Click to collapse
I think he meant to disable HTC Hub from sync as mentioned earlier. If you use an alternative launcher I think you can use a task killer or app like android assistant to kill HTC Sense at start up. because even if you use another launcher it still runs in the background
graffixnyc said:
I think he meant to disable HTC Hub from sync as mentioned earlier. If you use an alternative launcher I think you can use a task killer or app like android assistant to kill HTC Sense at start up. because even if you use another launcher it still runs in the background
Click to expand...
Click to collapse
I was kinda thinking the same and will be trying Zeam...thanks
OK, so Juice Defender and K-9 Mail are both quite popular.
I am running CM7 on an HTC Aria (Liberty). Trying to get a hair more battery life with JD, but unfortunately with JD enabled, my email does not sync, ever, using K-9 mail.
K-9 is set to poll every 15 minutes for two accounts (no push).
JD is set up with essentially the default settings. K-9 is on the list of apps to work all the time including screen off.
Anyone have any clues about how to make these two apps work together?
Don't know how to get those two things working together but if you are trying to achieve good battery life outta your device then please uninstall JD, it causes more drain than saving it. Read XDA topics, it has been stated already.
Regards.
Hi guys,
I've used my Galaxy S6 for two months through work and I like it... sort of.
Lag spikes are normal, compared to my Moto X 2014 which runs smoothly. However, this is not what really bothers me.
I've set up Knox to work with my corporate Exchange server.
The mail app has been set to manually sync, as push and timed sync drained my battery incredibly fast.
Even now with sync settings on manual, the phone chews through at least 5-10% per hour. As soon as I disable my email connection or disable Knox, the battery drain stops.
Is there an alternative app that can be used in Knox? I've tried Outlook but it doesn't allow me to specify a certificate or enforce SSL.
I would prefer to use something other than the built in email app, as that seem to be the source according to other forum posts.
Even better: is there any way of plugging the battery drain without loosing Knox email capability?
Thanks!
I'm using the email app Nine in Knox and it's great. No problems that I can see. Nine is a paid app but there is a trial period.
Another one to try is Mailwise. It's totally free.
Sent from my SM-G920W8 using Tapatalk