Exchange Service wakelock killing my battery - Nexus 4 Q&A, Help & Troubleshooting

Hi, I moved from a Galaxy Nexus 2 weeks ago.
I'm running the lastest CM 10.1 Nightly and Franco Kernel.
Like I week ago I noticed a very high wakelock caused by "Exchange Service". I'm using my Hotmail account configured as Exchange with the stock email android App.
I didn't have that wakelock before with my SGN or the first week using my N4.
I don't know what to do, I have tried deleting the account and setting the update interval to 1 hour.
Any ideas?

This is making me crazy
Sent from my Nexus 4 using xda app-developers app

Check this out:
It goes to deep sleep, but there are some wakelocks made by:
Calendar, Exchange and Gtalk (Which is strange as I have it frozen using TIBU).

peikojose said:
Check this out:
It goes to deep sleep, but there are some wakelocks made by:
Calendar, Exchange and Gtalk (Which is strange as I have it frozen using TIBU).
Click to expand...
Click to collapse
This is what happens when people have too much information at their finger tips.
I see 3mins and 6 mins of wakelocks there in 10hrs? How is that "killing" your battery?

shotta35 said:
This is what happens when people have too much information at their finger tips.
I see 3mins and 6 mins of wakelocks there in 10hrs? How is that "killing" your battery?
Click to expand...
Click to collapse
I understand your point..
Sorry but I still think there is something wrong.
494 wakelock ? With push email off? It was supposed to check the email each 2 hours. No contact and calendar sync.. OK all the wakelocks were "only" 12 minutes... I had it configured in the same way with my gnex and never had this problem.
Thanks.
Sent from my Nexus 4 using xda app-developers app

Any idea?
Sent from my Nexus 4 using xda app-developers app

I deleted my exchange account... And installed Outlook (what a ****ty program) but I didn't have so many wake locks.
I don't know what to do...
Sent from my Nexus 4 using xda app-developers app

There is nothing wrong. Uninstall your battery monitors and enjoy your phone.

El Daddy said:
There is nothing wrong. Uninstall your battery monitors and enjoy your phone.
Click to expand...
Click to collapse
I understand your point.. But I was sure that before (using my gnexus and the first week using my n4) I had the same configuration and I wasn't getting these wake locks. Remember push it's not active ! And gmail (sync is on) and whatsapp are running all the time and they don't generate almost any wakelocks...
Sent from my Nexus 4 using xda app-developers app

peikojose said:
I understand your point.. But I was sure that before (using my gnexus and the first week using my n4) I had the same configuration and I wasn't getting these wake locks. Remember push it's not active ! And gmail (sync is on) and whatsapp are running all the time and they don't generate almost any wakelocks...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I have a GS4 and have experienced the same issue, the exchange server seems that is always on and draining the battery, i have played around with the settings (unchecked the sync options) but still no way to turn it down

There is something strange
Sent from my Nexus 4 using xda app-developers app

Sorry guys but I think there must be something wrong here.
It's only syncing one account and the refresh rate is set to 1h!!! I get barely 10 emails daily and don't reply them.
It looks like there is a mistake in the configuration of exchange and it ends in a loop.
Plus I don't even use the calendar, I have like 10 entries in all the year!! It doesn't make sense.
I use whatsapp 10 times more than email and calendar combined and I don't see it generating so mane wake locks.
Sent from my Nexus 4 using xda app-developers app

I don't use Calendar and see what is happening.
Sent from my Nexus 4 using xda app-developers app

I enabled log using the email app, and I see a LOT of lines with this:
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:03] ExchangeService| Next sync for Inbox in 2461s
Even when it's not syncing!

peikojose said:
I enabled log using the email app, and I see a LOT of lines with this:
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:02] ExchangeService| Next sync for Inbox in 2462s
[18:38:03] ExchangeService| Next sync for Inbox in 2461s
Even when it's not syncing!
Click to expand...
Click to collapse
Same problem here. I have my work Outlook exchange server setup. I have sync set to NEVER so I have to open the app manually to get new emails....I still have 30+ minutes of exchange services wakelocks.
What is going on? This never used to be an issue

foethalove said:
Same problem here. I have my work Outlook exchange server setup. I have sync set to NEVER so I have to open the app manually to get new emails....I still have 30+ minutes of exchange services wakelocks.
What is going on? This never used to be an issue
Click to expand...
Click to collapse
I am not alone
Sent from my Nexus 4 using xda app-developers app

I noticed the same with my email app setup for my hotmail account, installed the outlook app and it was just as bad. Even with sync off there was a very high number of wakelocks. I now forward mt hotmail to gmail instead.

kien said:
I noticed the same with my email app setup for my hotmail account, installed the outlook app and it was just as bad. Even with sync off there was a very high number of wakelocks. I now forward mt hotmail to gmail instead.
Click to expand...
Click to collapse
I was thinking of doing that. Forwarding all my emails to my gmail account. This is a serious problem. As you say we get wakelocks (a lot of them) even with hot mail sync off!! Wtf
Sent from my Nexus 4 using xda app-developers app

I was able of removing the wakelock doing the following:
Using titanium backup made "exchange services" a user app.
Added to greenify
BUT the only problem is that now I have to open the email app to get my emails.. Trying to avoid this with tasker but tasker doesn't work with processes like exchange service.
Battery life has improved!!
Sent from my Nexus 4 using xda app-developers app

It's not just you
It's not just you. Something is definitely wrong.
I have had this problem since ICS 4.0 on my Nexus S.
I've tried stock and am now running CM 10.1. This morning my stock battery stats show 3h 17m on battery and Exchange Services with 1h 5m of "Keep awake". Battery is down to 58%. That makes the battery life about 6 hours. Yesterday, I got 14.
This problem goes away every time I flash a ROM update, but will always recur after a few weeks. If I disable sync, everything is fine. It doesn't seem to matter whether the Exchange Sync setting are set to Email, Calender, or Contacts. It also doesn't seem to matter how often sync is set for: push, 30 min, 1 hour, or 3 hours -- the problem still persists unless sync is off in the OS.
I would love suggestions on what to do.

Related

Gmail will not refresh!

Hello everyone! On my brother's evo the the gmail will not refresh anymore. Do you know what the reason could be? He does have internet connection. He has over 500 emails on the account could that the problem?
Sent from my PC36100 using XDA App
Any help on this?
Sent from my PC36100 using XDA App
I had a similar problem. Then I just found out today that if you disable Google Talk from starting up (like everybody was advising to save battery life) then Gmail push does not work right. I let Google Talk start up now, and now my push services work... better.
Sprockethead said:
I had a similar problem. Then I just found out today that if you disable Google Talk from starting up (like everybody was advising to save battery life) then Gmail push does not work right. I let Google Talk start up now, and now my push services work... better.
Click to expand...
Click to collapse
So just go to settings in the talk app and have it automatically sign in? Will have to check his settings tonight and will report back if that fixes it. Thanks!
Sent from my PC36100 using XDA App
Make sure that data syncing did not get turned off either. You can also try to manually sync your accounts through menu-settings-accounts and sync. Then choose sync all
I had an identical problem where even manual sync stopped working for now reason.
I added a second gmail account with the same account info and the primary.
After I did that it was like it merged the two and it started working again.

How to turn off push for gmail accounts

I would like to change to for example 'every 15mins'. The 3 accounts all being pushed is taking its toll on my battery.
Sent from my MB860 using XDA Premium App
iOSlulz said:
I would like to change to for example 'every 15mins'. The 3 accounts all being pushed is taking its toll on my battery.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Ehhh... the whole idea of "push" is that new emails are pushed from the server. As opposed to your phone "pulling" them from said server. So no, you cannot. Even switching off sync will not impact your receiving emails on gmail.
However, there are apps out there (search for it) that will enable your data connection and/or sync function periodically. This one you can set for 15 mins, 1 hour, or whatever the app offers and you want.
bl0wf1sh said:
Ehhh... the whole idea of "push" is that new emails are pushed from the server. As opposed to your phone "pulling" them from said server. So no, you cannot. Even switching off sync will not impact your receiving emails on gmail.
However, there are apps out there (search for it) that will enable your data connection and/or sync function periodically. This one you can set for 15 mins, 1 hour, or whatever the app offers and you want.
Click to expand...
Click to collapse
I'm pretty sure if you disable gmail sync you don't get emails anymore through the stock gmail app at least.
Sent from my MB860 using Tapatalk
Clienterror said:
I'm pretty sure if you disable gmail sync you don't get emails anymore through the stock gmail app at least.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
+1 Turn off Sync you wont get any emails...thats what i do
joshyy_rey said:
+1 Turn off Sync you wont get any emails...thats what i do
Click to expand...
Click to collapse
Grrrr....was afraid that was going to be the result
Sent from my MB860 using XDA Premium App
Actually, you can switch off push, IF you start using the moto blur corporate email. Lookup the settings for active sync, it uses the microsoft exchange method for email access, and also syncs calendar and contacts. Once setup, open the account through messages, and turn off push. I did this, and my battery life tripled.
Sent from my MB860 using XDA App

Exchange Services!!!

I'm sure that many Android users just like me have been experiencing the following problem
Battery Drained by Exchange services ... oh and heating up of the device while it's sleep
I found out that the problem isn't with any of android devices or softwares
It's with Yahoo! Server ... It's been failing for weeks and has been causing this issue for weeks ... here's my review to them on Google play Y Mail App, Facebook page ... and others
((( Dysfunctional Server and Service!
"IMPORTANT: There is currently a known issue with notifications failing. We are currently fixing the problem which is related to the server and not the application."
Here's Another IMPORTANT issue ... Your yahoo has been failing to sign in using native email android app for many weeks... locking out exchange services, using up the battery and heating up the device ... the problem is there with many many many devices .... people don't know it's your server yet ... they think it's their android that is failing ... not your stupid app and server! what's the use of an app that doesn't notify you or a server that isn't functioning properly and is failing to sign in ha?
Not to mention it's failing to sign in on PC as well ... useless service!
I'm moving to Gmail ... moved most of my stuff there already!)))
In general the official Yahoo! Mail app drains battery like hell.
Use the default samsung provided email utility and combine all ur mail accounts on it. Its one of the best email client. No such battery drains are observed using that app. And one more thing increase the update time. If its on every minute it definitely wont let ur phone go to sleep.
Sent from my GT-N7000 using xda app-developers app
Well, that's why I tried their app in the first place ... because using android email utility kept on failing to sign in and running in the background trying to sign in draining the battery in 2 hours and heating up the device ... when I deleted my yahoo account from my phone ... and used the android email utility ... I used two MS, Gmail accounts ... and not a single problem ... I re-entered yahoo ... and battery issues came back
I contacted yahoo ... they said they have been having problems with their server for a while and they are trying to fix it
anyhow, it sometimes causes the exchange services to get into a vicious circle and drains the battery in few hours ... I found several people having this issue around the web
qazibasit said:
Use the default samsung provided email utility and combine all ur mail accounts on it. Its one of the best email client. No such battery drains are observed using that app. And one more thing increase the update time. If its on every minute it definitely wont let ur phone go to sleep.
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Well, that's why I tried their app in the first place ... because using android email utility kept on failing to sign in and running in the background trying to sign in draining the battery in 2 hours and heating up the device ... when I deleted my yahoo account from my phone ... and used the android email utility ... I used two MS, Gmail accounts ... and not a single problem ... I re-entered yahoo ... and battery issues came back
I contacted yahoo ... they said they have been having problems with their server for a while and they are trying to fix it
anyhow, it sometimes causes the exchange services to get into a vicious circle and drains the battery in few hours ... I found several people having this issue around the web
What I love from exchange is that some people believe setting it check every period time will save battery. Push does save battery life, generally.
Why? I don't see the logic behind this. At least on wifi. Does the device go to deep sleep at all when push is used?
Sent from my GT-N7000 using Tapatalk 2
lukabike said:
Why? I don't see the logic behind this. At least on wifi. Does the device go to deep sleep at all when push is used?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Yes ofcourse it will, I get 1-2% batterydrain per hour with 4 email accounts set to push and wifi always on, if I am connected to wifi or not.
Hmm thats amazingly strange , i will set it too then.
Sent from my GT-N7000 using xda app-developers app
qazibasit said:
Hmm thats amazingly strange , i will set it too then.
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
basicslly with push you dont have a periodic wakeup of the phone to check mail +/-10minutes to fall asleeo again everytime it checks
Weird. Push means always connected, thus no deep sleep would be logical. Ok, I'm changing now and reseting cpu spy logs, will check tomorrow after some hours without charger.
Sent from my GT-N7000 using Tapatalk 2
lukabike said:
Weird. Push means always connected, thus no deep sleep would be logical. Ok, I'm changing now and reseting cpu spy logs, will check tomorrow after some hours without charger.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
lol I came from blackberry so I know a lot about their push. And not only is it more realtime, its also more battery friendly(or should be) cause your phone isnt constantly or periodically polling the server for mail.

Auto sync question.

Does turning off syncing under your Google account stop syncing from occurring completely? Or will it still sync when I run the application itself etc. Would like to turn auto syncing off yet still be able to sync.
Sent from my Nexus 4 using xda app-developers app
jzero88 said:
Does turning off syncing under your Google account stop syncing from occurring completely? Or will it still sync when I run the application itself etc. Would like to turn auto syncing off yet still be able to sync.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You'll still be able to sync. Just turn auto sync off and for example, open the Gmail app. There's a refresh button at the top if you want to sync.
scandalousk said:
You'll still be able to sync. Just turn auto sync off and for example, open the Gmail app. There's a refresh button at the top if you want to sync.
Click to expand...
Click to collapse
OK cool thanks. Just wanted my contacts and photos to still be able to upload.
Sent from my Nexus 4 using xda app-developers app
jzero88 said:
OK cool thanks. Just wanted my contacts and photos to still be able to upload.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You'll also have to keep in mind that most email accts added to the native email app will be able to sync when you choose to, but an Exchange server acct might not be happy.

[Q] Google Contacts Sync battery hog.

So the number 1 battery hog by far on my g2 is google contacts sync. Its basically never letting my g2 sleep. FWIW I checked in accounts and there's an error showing that sync is experiencing problems and hasn't updated since I bought it.Any idea on what's going on?
yeah a bad luck situation. delete account and resetup sync for one account, let it sync and then add another if you have multiple.
If that doesnt work you might need to go into settings, apps and then wipe contacts and then contacts sync and then resetup again the sync.
Thats whats worked on old phones I had
My contacts haven't been syncing since the 28th either, don't know what gives
Just had the same issue. I was getting massive idle battery drain; ~ 13% just sitting overnight whereas my GNex drained ~2-3% overnight. Went to app manager and cleared data on contacts and contacts storage. Then re-synced and it seems to be working again. Not sure what happened?
What Rom? Clean our stock
Sent from my VS980 4G using XDA Premium 4 mobile app
jrgilbert79 said:
What Rom? Clean our stock
Sent from my VS980 4G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I am on stock. I downloaded an app called "contacts sync fix" that will go through and fix errors in your contacts so they will sync again. May not be a permanent solution, however the contacts sync is no longer leading my wakelocks.

Categories

Resources