Anyone using Exchange on the native email client suddenly notice a huge battery drain/wakelock with Exchange server?
I haven't changed my email setup in weeks and I've never had this problem before. My phone is a little over 5 hours off charger and at 19%! Exchange services is at 19% with a 1h 13m wakelock on BBS.
I have Gmail and Hotmail (yeah, yeah) accounts both set up as push. Only the Gmail syncs contacts and calendar (I've double-checked everything). I probably get ~20 emails/day or so.
Until today, I would get >24 hours with light usage, and a full day with heavier usage. This literally started today out of the blue.
I searched all of XDA and the GN forums specifically and didn't see anything that addressed this particular issue. Any suggestions?
TIA
Anyone?
The actual service is com.android.exchange.Exchange Services
somehow the native email push keeps running and waking up the phone..
so i just sent to never notify me.
and i manually click the app to check every now and then to solve this problem and maintain my battery life
king23adrianc said:
somehow the native email push keeps running and waking up the phone..
so i just sent to never notify me.
and i manually click the app to check every now and then to solve this problem and maintain my battery life
Click to expand...
Click to collapse
The weird thing is that it just started doing this, even though I haven't changed any settings in weeks. And not having push email would suck...
This has happened to me from time to time on CM and AOSP ROMs, but not on my GN yet. It's a Google problem IIRC and something that they "fixed" in the past, but they obviously haven't.
I'd observe this 1/10 nightly ROM flashes so I'd keep an eye on it for the first couple of hours afterwards and kill it if it was starting to go rogue.
It's a known, flagged, issue (on Google) but I don't have the link handy.
i noticed similar Exchange Mail behavior on my phone with any ROM that i flashed. i narrowed the constant-sync to my calendar. when i disabled calendar sync, the battery drain stopped. my research suggested the problem was related to a corrupt calendar or recurring calendar entries. so i archived all my Exchange calendar entries (which removed them from my calendar) removed then re-added the Exchange account to my phone and finally restored the calendar entries i needed. so far, no issues and i've flashed 3 ROMs and the problem has not returned. somewhat extreme, but it worked!
I have no issues with stock Exchange and Gmail apps on rooted 4.0.4.
You could try deleting and recreating the email accounts to see if that helps.
Also got the issue this night. 25% gone after 4 hours sleep, wakelock because of the Exchange service ... Disabled google sync, then reenabled it 2 hours later, and no problem ... It gets stuck somehow sometimes ...
I had the same problem on my SGS2 on ICS. I finally had no choice but to migrate my email to Google Apps. In the end it was the best decision since the Archive function on the GMail app is amazing and it simply works 10x better than any Exchange ActiveSync client.
The Google Apps connector for Outlook also works almost as well as Exchange Server.
Related
Had the Desire for about a week and like it a lot but will have to return it because Exchange sync doesn't work and that's a key feature for me.
1. Set up account and set 1 home screen to the mail widget and for a couple of days it worked perfectly until I saw new emails on the home screen widget that didn't appear in the mail app itself! How can the widget apparently be more up to date than the source of the data - the mail app?
2. After this could no longer sync e-mail - it appears that contacts and calendar sync but e-mail shows "sync protocol error"
3. Removed account and set it up again and it worked perfectly for about 24 hours and then exactly the same thing happened. Removed account, removed battery, reset account and its working again....for about a day before I get the same result (home screen widget showing e-mails that aren't showing on the mail app itself and I get sync error).
4. Removed all apps and reset to factory settings and set up account again but the same thing has happened again after about a day. It seems that if it tries to sync and can't connect because there's no signal eg I'm on underground then it locks and can no longer sync
It's Microsoft Exchange server 2003 SP2 and colleagues have no problem with i phones or blackberries and I've been using WM phones for years without any problems. Unfortunately phone is useless to me if this doesn't work and disappointed that HTC claiming feature that in my case clearly doesnt work
More information on above
Forgot to say that although I wasn't getting any e-mail update I was able to send e-mails all the time that this was going on! So I could send but not receive.
apart from a similar issue the first few days in, my Desire sync's fine with my exchange 2007 server. although I've not used the mail widget
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
fredfox_uk said:
apart from a similar issue the first few days in, my Desire sync's fine with my exchange 2007 server. although I've not used the mail widget
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
After posting the above, I had this happen again this evening. If occurred when the connection changed from "H" to "G" I'm missing 55 mails
I'll have to try and figure out what's happening
I've had exchange working great for the last 3 weeks. Then it decided to stop working. I've deleted the account and re created it and no joy. Just won't sync. I'm gonna try with moxier now and see if that works.
Sent from my HTC Desire
Identical problem here with my Desire.
It is not just a simple receive problem because I can delete emails from the main "Inbox" folder, than switch to the "Deleted Items" folder, sync and retreive the emails I've just deleted.
But syncing the main "Inbox" folder is not working anymore.
Seems like internal index data for that folder is broken.
This is not a server problem because just deleting the sync account and re-creating it magically fixes it until something screws up again.
This is clearly a case of bad application coding. Damn try-catch statements
Had the same problem myself on 2 different phones, I found that going into account settings and doing a save without changing anything (it says it is checking your password) fixes it.
Seems to happen if you make a lot of changes via outlook and the phone looses its place.
LM
MufDvr said:
Had the same problem myself on 2 different phones, I found that going into account settings and doing a save without changing anything (it says it is checking your password) fixes it.
Seems to happen if you make a lot of changes via outlook and the phone looses its place.
LM
Click to expand...
Click to collapse
Tried, but does not work for me.
I wonder if the application event logs on the Exchange server will give more information on the failure? Is SSL set up correctly? Some people have been having problems with self-issued certificates.
fredfox_uk said:
After posting the above, I had this happen again this evening. If occurred when the connection changed from "H" to "G" I'm missing 55 mails
I'll have to try and figure out what's happening
Click to expand...
Click to collapse
Funny you mention about it breaking when going from "H" to "G". I thought I had seen bandwidth related success with my exchange syncing. On WIFI, I could sync the whole inbox, but I would get failures when trying on 3G. I then reduced the inbox to "last 7 days only" and it worked. Going back to higher bandwidth, suddenly I could have the whole inbox without sync errors.
Deleting & recreating Exchange sync account works
For me, deleting and recreating the Exchange sync account workedto get rid of "Sync protocol error". Not funny, but at least there's a way out.
So far so good...
Suspecting some local index file is broken if the sync task is suddenly aborted, I have avoided killing any task and guess what ? So far so good...
Will keep you informed.
P.S. Even if this is the real issue, the sync code is BROKEN.
Hi,
Has anybody gotten to the bottom of this? I've found several threads about the same error across several HTC phones on several different forums.
Deleting and re-adding the account seems like a last resort?
All my contacts are synched via Exchange so if i delete it i assume i lose all of them? And then would i lose corresponding text messages? Anything else? Do all my links to Facebook, Flickr etc get lost? I can see some weird strings of code in my contacts on Outlook now so is the Desire clever enough to pick these up and link everything back together again?
If i can get everything back by just re-adding the account then I'll give it a go but it really does seem far from ideal.
Hi all,
Sorry to bump but i've still not taken the step of deleting my exchange account through fear of losing information.
Obviously it will delete my contacts but will it also delete corresponding SMSs, links to facebook, twitter etc (in Outlook I can see some funny code strings in each contact which i think may be the links)?
Basically, will anything be permanently lost or will i simply need to re-add the account to get everything back as it was?
Is there a way to back up my contacts first? HTC Sync?
Thanks
When I removed an Exchange account from the stock mail app it didn't remove the linking data (which appears in the notes field of your contacts). And there would be no reason for it to delete SMSes, although with the contacts gone, it may not be able to link the phone numbers to names.
HTC Sync could sync your contacts to a separate Outlook installation, or you could use one of the many backup apps (search around here for reviews).
I've only had my Desire for 24 hours but I elected to go with Touchdown right from the get-go after advice from a colleague. So far, it's working a treat (fingers crossed it stays that way). Is anyone here using TD and experiencing these issues, or is it just with the native mail app?
I have a simular issue where Exchange mail stops receiving and sending emails. I only pick up that there is an issue, when attempting to send a email.
This happens regularly, and I have reported this issue to HTC.
My fix when this occurs is to untick and retick SSL option and save.
Well i've removed and re-added the exchange account and so far everything seems to be working ok. Will keep you folks posted - hopefully it doesn't happen again!
Chaps,
Just joined, but I think I have your answer... Task Killer. If you run any of the task killer apps, they can kill the exchange as it is happening, leaving the inbox status in a corrupt state, and the only way to fix this is to delete the account and start over. But then, if the task killer kills the sync, you will have to do it oveer, and over again. Task Killers are great for killing the main apps, but use them on the desire in manual mode only, and only kill the main apps, not the background processes.
Regards
Jaffa
I don't believe it is caused by task killers - I use Advanced Task Killer but it doesn't even list email as open even though it is. I noticed my inbox started having issues after changing sync from 7 days to 14 - it kept re-downloading the last few messages, then after 1 day simply stopped updating the inbox. All other folders fine. I suspect it's a space/size issue - some reports from POP users sound similar. HTC / Android really need to address this. Slowly getting sick of my HTC Legend...(Legendary failure!)
Stock EVO, 2.2...
I just noticed this issue about three days ago...my Exchange calendar is constantly syncing, and I do mean constantly.
If you go to Settings - Accounts & Syc - Exchange ActiveSync, you can see the last sync for each item. My calendar constantly reads the same time as system time, and the Sync icon in my notification area is constantly flashing on and off.
I have noticed that my battery is draining VERY fast. I had to put it on a charger twice yesterday (I got the 15% battery warning) with normal use, when I can typically go a full day of use without any issue.
I can deselect Calendar syncing, but of course that's only a temporary fix.
Has anyone else run into this? Anyone heard of a solution? A google search did not yield any results.
FIXED!!!
Well I fixed my own problem...though I cannot determine the cause of the issue (I even tried uninstalling some apps I had DL over the past few days), the fix was simple, though it took a while to figure out.
I tried to merely remove/re-add my Exchange sync, but I kept getting 'client/server conversion errors', and my calendar would refuse to sync (though email and contacts did). Furthermore, in Outlook, I would get lots of duplicate entries (interestingly, they were recurring events and all-day events).
This was the solution:
1. Delete Exchange account from EVO (contacts, calendar, email)
2. Since I noticed that my calendar app still had some entries in it, even after deleting the Exchange account, it was evident that there was some data still on my phone that was possibly causing the syncing error. So, I went to Settings - Applications - Manage Applications, and selected the All tab. Scroll down to the 'Calendar' app entries, and you have to clear/delete any cache/storage data in each.
3. Re-synced with Exchange successfully.
I searched around different forums, and it seems many have had a similar issue and have waited in vain for Sprint or HTC to publish a solution.
This one worked for me. Hope it helps others.
yes!!!! Thank you so much. After trying everything and almost a week of my battery going dead with a couple of hours on my EVO your solution worked! I would recommend that anyone try this solution before going any further!
Let me start off by saying that this issue has had me running in circles going batsh!t crazy for weeks now. Generally speaking, Exchange contacts and mail worked for me right out of the box using the built in Sense Mail and continued to work through several iterations of the Fresh ROM. Definitely occasional issues but all in all it worked. And, since I was constantly experimenting with new ROMs, I always just assumed it was me who had done something when syncing stopped working.
That said, after weeks of no tweaking Exchange Mail suddenly stopped working and despite all efforts I can't get it to work well again. Moxier, Roadsync, and Touchdown all work without a hitch. And, even the AOSP Email app I used when trying out Cyanogen continued to sync despite the occasional "connection error." Unfortunately, I would really prefer to use the built in Sense Mail app and hope someone here can help me fix whatever it is that is not working.
What Works and What Doesn't:
Exchange Mail - If I delete the account and start over I can nearly always set the account up but, on occasion get continuous "Failure, Try Again Later" dialogs. Once set up, the phone immediately starts trying to sync. The most frequent result at this point is no mail shows up but the syncing icon will spin for hours to no avail. However, if I go to view the folders, I can see my different folders which are clearly from my exchange account. However, sometimes after I set the account up and it starts syncing, some mail WILL start to show up in the inbox (10-20 messages) but then stop while the sync icon spins indefinitely.
Exchange Contacts - Always worked and continues to work
Exchange Calendar - From the very beginning had "connection timeout socket" issues but so I use a workaround using Google Calendar Sync. I am perfectly fine with this workaround so, if it can't be fixed it is no big deal.
Numerous times I have tried
-deleting and re-adding the account
-changing up the sync options
-wiping the phone and re-flashing ROM's (including stock)
-Using apps that prevent the phone from locking
-screaming and yelling
If anyone can help I would be very grateful. I also attached a logcat that ran this morning.
http://dl.dropbox.com/u/4716709/Log.txt
hmmmm...
For clarification:
After a hard reset, no rooting, no ROM, just a plain stock 2.2 EVO, you cannot sync Exchange mail? Contacts are OK, and Calendar requires workaround?
I would check with your IT dept and see if they have any restrictions on device synchronization. Ensure they are running at least Exchange 2007, and try having them delete the synchronization from the server-side.
I would test on a different EVO, preferably one that has never been rooted or flashed. Does your account sync, or can you duplicate the symptoms?
Fully stock EVO has the same inconsistencies. I'm on my second EVO due to a screen issue with the first one and was traveling so didn't root the new one for about a week and had same issues. Additionally, there is someone in our IT dept with an EVO who has had the same issues but, lacking my perseverance (or stupidity) gave up for touchdown.
It seems to be completely isolated to the HTC Mail app because even if I install the AOSP Email app on a Sense Rom I can sync email fine. Unfortunately, the AOSP Email app has little functionality in comparison and what I like most is the full screen widget of the Sense...
okolowicz said:
Fully stock EVO has the same inconsistencies. I'm on my second EVO due to a screen issue with the first one and was traveling so didn't root the new one for about a week and had same issues. Additionally, there is someone in our IT dept with an EVO who has had the same issues but, lacking my perseverance (or stupidity) gave up for touchdown.
It seems to be completely isolated to the HTC Mail app because even if I install the AOSP Email app on a Sense Rom I can sync email fine. Unfortunately, the AOSP Email app has little functionality in comparison and what I like most is the full screen widget of the Sense...
Click to expand...
Click to collapse
Check your settings for SSL and TLS. Maybe something is off there. Also check how much mail you are trying to sync and the size of the mails you're trying to download. These are all in the account settings.
Also find out if your IT dept has changed anything on their end. I had issues when upgraded from Exchange 2007 to Exchange 2010, it could be something related to that also...
Perhaps you can provide your settings and we can take a look. It's hard to pinpoint a problem without specific info.
there are some good suggestions in the thread already, but I have something relatively basic you could try. At anytime after deleting your exchange info, did you ever go into manage applications and see if there was any data still in the mail app, and if so, did you try to clear the data and cache before reloading your exchange info?
Regarding the amount of mail I am trying to sync, I've tried the default 14 days down to 3 days with no difference in reliability. I've also tried changing up the allowed size of emails from anywhere between 10kb and entire mail but still no consistency.
The settings I use are pretty straight forward and haven't messed around too much because I haven't seen to many areas to tweak. The server address is mail.companyname.com and the domain is companynameI've tried with and without the SSL box checked which has made no real difference.
What makes it frustrating is the inconsistency. For example, yesterday I deleted and set the account up again with another combination of settings and email started syncing almost immediately. But, as is typical, after syncing the first 20 messages or so nothing else showed up and the sync icon spun indefinitely. And, contacts of course synced without issue.
If there are other settings you recommend me looking at, please let me know.
fachadick had an excellent suggestion. I've seen similar sync issues when the local cache remains even after having removed the account (client-side), or if a particular mailbox in Exchange was previously synced with a Windows Mobile device (server-side).
1. Try removing the account from your EVO, and wiping out the local cache in Settings - Applications - Manage Applications (the 'All' tab). Check every app that is associated: Calendar, Calendar storage, Calendar Sync Adapter, Contacts Storage, etc, etc
2. Have your IT dept delete any and all sync relationships on the server side.
After these two items, reboot your phone, wait a while, and try again. Question: what version of Exchange does your company run?
My email worked fine with Exchange server in Gingerbread but since I've upgraded
to ICS is not working ok, it doesn't download all emails and I keep getting
"Connection Error" messages.
Who else is having issues with Exchange server in ICS4.0.3 ?
Can we report this issue somewhere to Samsung?
Got the same problem, contacts and calendar syncing, also in two days i got 3 emails on the device as well, but the oldest ones. Have bought Enhanced Email and is working perfect.
Mine is fine on bone stock LP7 or LPQ
check the exchange server for errors if you have access. the mobile device policy might be doing something funky
Problem I'm having is that when I configure my works's exchange environment settings, only the email and the contacts synch, the calendar is not synched at all. Same problem with the Enhanced Email app only mail and contacts and no calendar? Is this something with ICS specifically or with the kernel LP7.
running STOCK LPF with XXKL1 Baseband. was experiencing battery drain. apparently its a known issue with ICS 4.0.3. Tried couple different things and deleting account and re-adding seem to do the trick for me at this point
Same here
Sent from my GT-I9100 using XDA
Having the same problem. Mail/contacts sync like a charm, but the calendar just gets stuck. Lot's of wakelocks when I enable it too...
Have been searching my *** off to get this fixed, but thus far, no solution. Tried re-adding the account, even wiping the whole phone, installing AOSP calendar/mail... nothing helps
A search on Google taught me it was a 4.0.3 bug btw, and google is kind of neglecting the whole thing :/
Bottom line is, you need to delete ALL of your reoccurring events. That's the only one i haven't tried yet
Edit: Just tried it, it worked! I just deleted some random events which were really old and sometimes in Outlook 2011 giving some problems with reminders. Now my calendar is syncing again. No wipe needed btw
What I did:
In outlook 2011 for OSX (but can be any mailclient) i created a local folder. I searched for reocurring events, and started moving them one by one to the local folder, which removes them from exchange. Every 3 items, i tried sync again, and after a few tries, my calendar started working.
The problem for me was with some birthdays, which were added from the contacts by my HTC Desire in the past
I've noticed that after I wake up, my new emails are not showing up. When I check my email app it says "last synced yesterday at x:xx". Right now I have it set at peak hours 6am-10pm 7 days a week refreshing every hour. I have checked my email at hours after i wake up at 7 and it will update when I open it. Afterwards it will sync every hour as normal. I think this is only happening when it's trying to come back from off-peak hours (which is set to never sync).
I've tried removing all accounts and deleting all app data but to no effect. My auto sync is on for everything including under settings > data usage. One thing I have noticed is that when you go to settings > email > [my account], the "last synced" time is different than if you go into the email app and see the "last synced" time.
I cant confirm but does not seem to be happening to my gmail account.
Anyone else having this issue?
Specs:
-T-889 on 7105 international rom by teshxx, dalvik/cache wiped.
-yahoo IMAP email
-no battery savers or anything that touches auto sync
Your probably saving battery
If your Gmail isn't syncing it probably isn't draining your battery, just saying.
JoshuOne said:
If your Gmail isn't syncing it probably isn't draining your battery, just saying.
Click to expand...
Click to collapse
I do not have any problems with my gmail app..
In case anyone still has issues with this, I've found the solution. For incoming settings for yahoo mail you must use samsung.imap.mail.yahoo.com, I was only using imap.mail.yahoo.com which caused my phone (for some reason) to not sync initially when entering peak hours.