Exgange Push - Battery Drain - Galaxy S II General

I have read a number of posts where some are experiencing severe drain like me and others that are not. I have tried KE2, KG3, KG6 and now KG5 all have been the same as soon as push is enabled on my work email exchange account with the stock email app, there is an immediate drop in the battery graph and the phone heats up, with the awake time showing as almost constant even when screen is off.
This drains my battery at around 10%/hr whereas with sync set to manual, I am only getting a drain of up to 1%/hr. Problem is I want to use push!
So, anyone who is not experiencing this - what is the trick?
Or will we see this addrerssed at all, but so far loads of updated firmware and still this problem exists with me.

You can't have everything at a time dude. Give up good back up if you need Push, or give up push to have the opposite

I'm having the same issue. Give up the Push? Come on now. As far as i understand we paid big bucks for this phone and want all the features to work properly. This is stock option and a must for everyone, how good is the phone when you cant have push email in this day and age. This is first android (SGS2) i'm having 2nd thoughts about samsung.

babamike said:
I'm having the same issue. Give up the Push? Come on now. As far as i understand we paid big bucks for this phone and want all the features to work properly. This is stock option and a must for everyone, how good is the phone when you cant have push email in this day and age. This is first android (SGS2) i'm having 2nd thoughts about samsung.
Click to expand...
Click to collapse
Nothing is must for everyone. And if you really need Push this days then you better start preparing yourself charge the device everyday. Having Push email is a Smart stuff, same goes for Charging
Regards.

I wish there was a way to enable automated refresh every x number of minutes, like the iphone.
Sent from my GT-I9100 using XDA App

ithehappy said:
You can't have everything at a time dude. Give up good back up if you need Push, or give up push to have the opposite
Click to expand...
Click to collapse
Sorry, but that's completely false.
I have exchange sync on PUSH and gmail on PUSH. Always had it on push, since my Nexus One.
Battery drain is very very minimal.
For example with my SGS2 running Cognition 1.31 I just got around almost 40 hours with light use. That's with Bluetooth and Wifi on for most of that time.
If your email push is eating the battery... try to reinstall the Email.apk to one of the other ones floating around here (for example I use one from 2.3.4 with exchange security bypassed). No battery drain that I'd ever notice, and I get decent amount of emails through the day.
Remember that you have to reinstall by deleting/replacing Email.apk in system/apps (need root).

I've always hated the stock email client. Pony up for Moxier Mail. You'll definitely be glad you did. I have push scheduled for 10hours a day and I drop 2-3% an hour. An hour after I get off work it switches to manual poll. Also limit the number of folders you're pushing if that's possible in the mail app.

linkin85 said:
I wish there was a way to enable automated refresh every x number of minutes, like the iphone.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Yes you can. Set your off-peak hours to all hours in the day, and set it to check every <...> hours/minutes.

linkin85 said:
I wish there was a way to enable automated refresh every x number of minutes, like the iphone.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
There is on the stock email app but not on the GMail one as far as I know. Even the timed sync seems to be causing me issues though. Very disappointed in this aspect.
Edit: DarkDvr beat me to it.

AeronK said:
There is on the stock email app but not on the GMail one as far as I know. Even the timed sync seems to be causing me issues though. Very disappointed in this aspect.
Edit: DarkDvr beat me to it.
Click to expand...
Click to collapse
Dude, seriously, try to root/delete Email.apk.
Get one of the other versions from xda, install that one.
Reboot, see if it works.
If nothing helps, just install Cognition.

DarkDvr said:
Dude, seriously, try to root/delete Email.apk.
Get one of the other versions from xda, install that one.
Reboot, see if it works.
If nothing helps, just install Cognition.
Click to expand...
Click to collapse
I may try that then - havent come across the email.apk but then again havent tried searching yet. Is there a guide on how to replace the apk after rooting (need to do that as well, but already researched that)
Thanks for the advice.

Experiencing same problems as OP!
Have had a bunch of Android phones, and no other has this problem.
I've tried Stock mail, patched stock mail, patched AOSP mail and Enhanced Email.. They all give too much wakelock. Use BetterBatteryStats (charmonix) to catch your wakelocks.

Related

Facebook app update

Just downloaded update and seems lot closer now to look like the iPhone one. I don't use Facebook app much so anybody notice any major differences since last one?
yep.. it auto updated this morning for me.. and its much nicer feel to it.. also like the little photo slider at the bottom.
wish they would implement facebook chat though
Much better, only thing I miss is to see who liked smth, option to slide to next picture when viewing pictures(it is so stupid to me to touch next and previous button) and chat
lennshow66 said:
wish they would implement facebook chat though
Click to expand...
Click to collapse
FB chat through the AIM client seems to work fine for me. But yes, it would be nice if we didn't have to run another app alongside the proper FB one.
Has anyone tried syncing contacts through Facebook rather than Facebook for HTC Sense? Since this update I have two Facebook accounts in the Accounts and Sync settings. If I try to use the new one it doesn't seem to work. It offers a new contact link but doesn't have pictures or anything attached to it.
Sent from my HTC Desire using XDA App
while we wait for them to put chat on the app in the mean time download go chat the ui is good it looks like google talk
I can't believe items in the notification menu still take you to the mobile version of the site in your browser and don't stay within the app.
Apart from that, I like it.
Partial Wake usage withe the new 1.3 client
Check the "Partial Wake Usage" (*#*#4636#*#*): with Facebook client 1.3, no contact sync and autoupdate on "never" i have 100% usage (on facebook app)
A definite improvement... wish they'd change the horrible icon though.
heavyhms said:
Check the "Partial Wake Usage" (*#*#4636#*#*): with Facebook client 1.3, no contact sync and autoupdate on "never" i have 100% usage (on facebook app)
Click to expand...
Click to collapse
So do I.
I had to logout.. Unplugged since 6h30 AM > now 2h22PM battery>40%
MoxFulder_CH said:
So do I.
I had to logout.. Unplugged since 6h30 AM > now 2h22PM battery>40%
Click to expand...
Click to collapse
Yep, I've just uninstalled the update.
Would this be because of the 'new notification implementation'? I did, for the first time ever, actually receive a notification whilst I had it installed!
It's using way to much of the cpu, too bad since I really liked the update but I need to uninstall it aswell Battery is more important!
Do people think a fix will come out for this? Surely this is an error, it uses way too much battery!
Raul Duke said:
Do people think a fix will come out for this? Surely this is an error, it uses way too much battery!
Click to expand...
Click to collapse
It has to be some sort of unforeseen thing. I would hope to see an update to fix this soon.
Mind you, I'm not overly impressed with the new features- was expected something far bigger and better.
I just wished, they can have a widget like the one on iphone where it displays the notifications on a corner.
sh500 said:
Yep, I've just uninstalled the update.
Would this be because of the 'new notification implementation'? I did, for the first time ever, actually receive a notification whilst I had it installed!
Click to expand...
Click to collapse
Thank god I now know why my phone as gone from 100% to 0% in the space of 6 hrs.
Thought it was the Froyo update but can see now it looks like it's this new update.
Has anybody emailed them yet to inform them of the excessive battery increase?
Yes I have already mailed the developer
Sent from my HTC Desire
I installed it when I first saw that the 1.3 was released and I haven't noticed any difference what so ever on my battery usage. I don't use any taskkiller so I haven't killed it of.
is there any fix for the battery-usage-of-death issue ?

[A] Ultimate market-found against Battery drain

Hey there,
yesterday i was searching around the web cause of my battery drain (my hd2 was empty in <1 day).
Then i found an market app: Battery FU
What does it do? It simply disables mobile data connection, when the hd2 is in standby. after wake up the phone, the network is connecting.
now i lost 4-5% of my battery in ~4h in normal use.
Thats great!
Give it a try and post your experience.
(And sorry, if this is already posted)
lg,
Prexx
pReXx said:
Hey there,
yesterday i was searching around the web cause of my battery drain (my hd2 was empty in <1 day).
Then i found an market app: Battery FU
What does it do? It simply disables mobile data connection, when the hd2 is in standby. after wake up the phone, the network is connecting.
now i lost 4-5% of my battery in ~4h in normal use.
Thats great!
Give it a try and post your experience.
(And sorry, if this is already posted)
lg,
Prexx
Click to expand...
Click to collapse
Though it does save some battery...but I found it causes more data drops...maybe it'll work for you though..
so no background sync ? quite useless for a smartphone :-/
Patchank said:
so no background sync ? quite useless for a smartphone :-/
Click to expand...
Click to collapse
It's called manual update. I actually prefer to sync apps myself, then to have them doing it themselves all the time. So to each, his own...
Thanks for the tip, Prexx.
nzxtneo said:
It's called manual update. I actually prefer to sync apps myself, then to have them doing it themselves all the time. So to each, his own...
Click to expand...
Click to collapse
+1, Agree.
Why should my HD2 update the latests news all the time, when i just look every 1-2h on it? Makes no sense for me.
When i want to read them, i open the facebook-app or whatever, update the news and read them.
nzxtneo said:
Thanks for the tip, Prexx.
Click to expand...
Click to collapse
No problem.
Little update:
8,5h without charging: 80% battery (normal use).
lg,
Prexx
Manual sync is fine for news, facebook, etc but for emails/Google Voice you want push notifications.
MarlinFF said:
Manual sync is fine for news, facebook, etc but for emails/Google Voice you want push notifications.
Click to expand...
Click to collapse
Definitely +1 for that. I rely on my emails too much to have to manually update them every 15 mins, but it does sound like for some it could be really good.

Facebook update, no push notifications?

Facebook update 1.5 just rolled out, and added chat and push notifcations. However, mine do not seem to be working.
If I heard correctly, froyo isn't supported, since its only 2.2+ that has cloud APK support. Not 100% sure though.
I am currently running CM6.1 on my Dinc, which is based on 2.2.1, so I'm wondering why this isn't working.
http://www.androidcentral.com/facebook-andrd-finally-gets-chat
1. not working.
2. If its REAL PUSH, why do we see Time Interval settings ?
JetBomber117 said:
Facebook update 1.5 just rolled out, and added chat and push notifcations. However, mine do not seem to be working.
If I heard correctly, froyo isn't supported, since its only 2.2+ that has cloud APK support. Not 100% sure though.
I am currently running CM6.1 on my Dinc, which is based on 2.2.1, so I'm wondering why this isn't working.
http://www.androidcentral.com/facebook-andrd-finally-gets-chat
Click to expand...
Click to collapse
it means it has push for chat notifications....I don't know why we can't get it for the whole app
csseale said:
it means it has push for chat notifications....I don't know why we can't get it for the whole app
Click to expand...
Click to collapse
Other people have said that it is working for things like comments and messages, and I've even seen a few people with push working on evo and inc, so I'm confused why it seems so hit or miss with people's updates.
EDIT: Ok, yeah, push is working for chat. Hrumph. If that's all they added, this is pretty stupid.
csseale said:
it means it has push for chat notifications....I don't know why we can't get it for the whole app
Click to expand...
Click to collapse
+1, the whole app actually needs a good rewrite!
Push is working for comments, messages, chat on my DInc, so it must be hit or miss
Ya I got push working for everything, time interval settings has nothing to do with it. I've been getting replies wall posts everything instantly in the form of a notification and its really nice and usefull
Sent from my ADR6300 using XDA App
Yeah, I'm Running MIUI And I Have Push Notifications Working As Well
it's working for me but killing my battery at the same time. I had it on to refresh everyhour apparently and Facebook has been running in the background for over 3 hours which keeps my phone awake.
Sent from my ADR6300 using XDA App
Well, then it's looking like maybe its a CM6.1 specific thing, huh.. lame. :/
My Dinc, stock 2.2, is receiving some things via instant push and other things at the interval update. It's stupid because if it would just push everything, I could turn the email updates off but I can't figure out what is consistently pushing yet.
Sent from my ADR6300 using XDA App
JetBomber117 said:
Well, then it's looking like maybe its a CM6.1 specific thing, huh.. lame. :/
Click to expand...
Click to collapse
Nope. I'm running Redemptive Rev. 2.1.3 and all i'm getting for push noti's is chat. And one message, but ive had MANY facebook notifications since updating, and none of them have pushed to my phone. The dev's for FB for android need to redo that entire app, imo. Compared to iphone's fb app, its a joke.
bbuchho90 said:
Nope. I'm running Redemptive Rev. 2.1.3 and all i'm getting for push noti's is chat. And one message, but ive had MANY facebook notifications since updating, and none of them have pushed to my phone. The dev's for FB for android need to redo that entire app, imo. Compared to iphone's fb app, its a joke.
Click to expand...
Click to collapse
ditto.....
I was getting notifications for everything: comments, messages, wall posts, chat, etc...that is until I rooted.
Same. On Cyan nightly 184. I'll get no notifications pushed, sign on via pc, and see 3 IM comversations. Irritating.
No notifications here either. It seems like chat rapes my battery too.
Facebook is wrecking my battery. There was no issue before I actually launched the application, but ever since, it's been keeping my phone awake.
My phone's been unplugged for 6 hours, running 36.1% of that, with the screen on for 6.4% of that. That's about 2 hours awake, and almost a half hour of screen time. According to spare parts, facebook has kept the phjone awake like 6 times as long as the next offender, Android system. The rest of the apps on the list are little slivers.
This is with Facebook Notifications turned off in settings, and I'm like 75% sure I had signed out of chat.
I hadn't changed the default number of backups in Titanium, so I only have one backup of Facebook, which is from like the day after the update came out. Can I just uninstall it? Or will **** hit the fan?
Actually anybody know where I can find an APK for the last update of facebook? That worked fine. If I uninstall updates and then install that APK over the version that came on my phone it should be fine. I froze it for now in Titanium.
EDIT: I was able to downgrade back to facebook 1.4. Go either the Market or Application Settings, go to facebook, and uninstall the updates. Then install this over the version taht came with your phone: http://www.freewarelovers.com/android/download/temp/1288808520_Facebook_for_Android_1.4.0.apk
I've been having the same problem. some days my battery is fine and other time Facebook suck it dry. if I'm signed out of chat too.. i dont get it
Sent from my ADR6300 using XDA App
I also am having no luck with any type of push on my DINC not even the chat is working for me and the battery life sucks like everyone else says. Everyone needs to email the devs and give them a ear full!
Erickomen27 said:
Yeah, I'm Running MIUI And I Have Push Notifications Working As Well
Click to expand...
Click to collapse
What version of MIUI? I'm running 12.11.1 and I am only getting chat notifications. When I was running Uber DesireZ I would get notifications for everything.

Email app battery drain - FIXED

Everyone,
just thought I would share this with you. I had discovered a problem in the native Email app with Exchange ActiveSync account. If a connection was lost a battery drain occurred which did not stop unless you killed the service, restarted your phone or put the connection back (a partial wake lock was not released in the sync service).
http://code.google.com/p/android/issues/detail?id=9307
I have been in discussions with Google developers about this for a long time and they were not able to find or track down the bug. I managed then to compile the Email app myself, debug it, find the problem and fix it.
Google finally confirmed the bug...
You can see the symptoms explained in post #77.
At the end of the issue you can see my analysis and how the code was fixed.
Anyway, find the latest Email app below so you can download it.
The Email app version is 2.3.5r1 (latest Git repository version of Gingerbread 2.3.5r1)
The changes done
- Fixed battery drain (wake lock released properly)
- Calendar synchronization syncs all historic events (not only 14 days old and newer)
Installation notes
Since Email app is a system application you cannot just install it and replace the old one. The only way is to have a rooted phone and delete the old /system/app/email.apk (make a backup of course).
Reboot your phone and then install the new Email.apk. It is suggested to remove the accounts first otherwise you can get a FC.
That's great work Jacob!
This bug should exist on all gingerbread roms, no?
Should I just installed it or replace the original one with root explorer?
Can not synchronize ALL messages, maximum period is month!
tommy1971 said:
Should I just installed it or replace the original one with root explorer?
Click to expand...
Click to collapse
I have just updated the installation notes. This could work too but since I was constantly updating and testing the app I decided to make it a user app by the steps in the first post.
Denkov said:
Can not synchronize ALL messages, maximum period is month!
Click to expand...
Click to collapse
Yes, a standard behavior of the Email app. I could bypass that too if you need. It's a shame that both Calendar and Email period of sync cannot be setup properly (whatever the user might desire)
Great news, thank you very much!!!
Will definitely test this evening .
Yes, ability to sync all mail would be nice, too, if it's not a problem for you .
This is great, good job.
I experimented the same issue and noone seemed to believe me. Well done.
EDIT: btw im a galaxy s cyanogen mod user, maybe you could post this in a more general forum
I'm not knowledgeable about these things, but how would someone go about getting this fix implemented into CM7? I'm also a Galaxy S CM7 user who has suffered from this issue and I've had to resort to using Moxier Mail as a remedy. If I install this fixed .apk, will it just get overwritten once I flash the next CM7 nightly? It would be great if it could be integrated into CM7.
Works very well on Samsung GalaxyS-CM7, thanks a lot!
One question though, the maximum sync period is one month, whereas in the CM7 client it can be set to unlimited (for email at least).
I also made a zip-file to flash this new email.apk. Made for galaxy S CM7, but I guess it should work on any CM7...
3h ago exchanged Email.apk and so far good. Switching to Flight produces 2mA drain. Synchronizing corporate mail and Contacts/Calendar works normally with no issues so far .
niiiiiceeeeee!!!!
but is there any way to get the app skaled when changing the devices-density???
it's been workin' with this one:
http://forum.xda-developers.com/showthread.php?t=775007
but your version keeps beein small while changin
thx in advance...
Hi jakubklos,
I'm using airplain mode every night when I go to sleep and being aware of this annoying bug I usually kills the EMail app and stops all it syncs.
From now I can go to sleep knowing I won't be losing 10% or more of my battery while sleeping.
You're great man!
BTW, Beats me what takes Google so much time to fix it themselves.
genius, thanks jakubklos
Is this the same email app for sense roms or is it only ASOP that is effected by this issue?
Also, Way to go on showing google up!
cant use it ..i get force close all the time !!!!!
mootmetal said:
cant use it ..i get force close all the time !!!!!
Click to expand...
Click to collapse
I got that too after installing it, but then I fixed the permissions using Rom Manager and rebooted and it worked.
If I am using the Gmail app, can't I just uninstall the system app and not worry about installing the new one?
Revhead said:
If I am using the Gmail app, can't I just uninstall the system app and not worry about installing the new one?
Click to expand...
Click to collapse
Yes, you can do that.
Just to update, left the phone over night on flight mode and there was no battery drain.
Great work!
Sent from my GT-I9000 using Tapatalk
Thanks a lot for this!

Battery drain - source found

I have had problems with battery drain on my S2 from the day I bought it. The battery would last apprx 12-14 hours before going dead - almost without use.
I then removed an Exchange (ActiveSync) mail account. And the problem was gone. 30+ hours battery with no problems. I added the mail account back, and the problem reoccured. I testet this some more times and it was consistent each time. BTW I was not using push, just manual mail update.
The mail account that I am adding forces encryption on the phone, so it might be that this is the actual source of the battery drain. But it shows that the phone is useless using ActiveSync with encryption.
I was hoping that this was fixed in 2.3.4, but the problem was the same there as well. Until this is fixed (which I don't suspect will happen) I can not use the phone with my job email account because of this.
Yes you can go to themes and apps section and search for the administration removed email app, stock app with the corporate control removed try it and see if that works better, currently using it myself and no big battery drains.
Sent from my GT-I9100 using XDA App
"go to themes and apps section and search for the administration removed email app, stock app with the corporate control removed"
Where is this? Android Market? I did not find it...
Themes and apps section of this s2 forum
Using 'Push' uses a lot of battery. See if you can manage with 'Manual' or scheduled to check every few minutes.
Also disable 'Auto-sync' if not required.
Log out of Latitude from within Maps.
anisbombaywala said:
Using 'Push' uses a lot of battery. See if you can manage with 'Manual' or scheduled to check every few minutes.
Also disable 'Auto-sync' if not required.
Log out of Latitude from within Maps.
Click to expand...
Click to collapse
As I said in my initial post - I do not use push - I have everything on manual. It drains battery even if I do not check the mail once.
jr866gooner: I found it, but I guess this forces rooting of the phone? It is a phone owned by my employeer, so this is unfortunately not an option :-(
steinrr said:
jr866gooner: I found it, but I guess this forces rooting of the phone? It is a phone owned by my employeer, so this is unfortunately not an option :-(
Click to expand...
Click to collapse
You can unroot upon return just use a insecure kernel which will bypass superuser I think.
Sent from my GT-I9100 using XDA App
I also pinned down my huge battery drain (10% per hour) to the Exchange email connection I use. I have tried various stock ROMs and some custom ones, but all seem to give the same result. I must say that older ROMs did not seem to have the drain this much. I am currently running Cognition 1.5.1.
Currently I work around the drain by manually syncing my email whenever I want to read email and this results in a whole lot less battery consumption (I now have 50-70% battery left with moderate use, instead of only barely managing 8 hours or so.
I have installed the modified Email.apk to see if this fixes some issues. The email.apk in Cognition did not have a .odex file anymore and was a few bytes different in size, so I really really hope that this fixes the drain. I'll keep you posted.
Gerco
Would someone please be so kind to link the thread with the modified apk? Forum search through tapatalk is not always an easy task
Thanks a lot guys
Inviato dal mio GT-I9100
I wasn't sure either, but I used the info in this link:
http://forum.xda-developers.com/showthread.php?t=1117452&referrerid=1505433
gschot said:
I wasn't sure either, but I used the info in this link:
http://forum.xda-developers.com/showthread.php?t=1117452&referrerid=1505433
Click to expand...
Click to collapse
Its not this one, similar thing the other one uses a different method, will try to find the link for you all.
Sent from my GT-I9100 using XDA App
hey how about if i use another email app? will that bypass the problem?
aeonstorm said:
hey how about if i use another email app? will that bypass the problem?
Click to expand...
Click to collapse
You can try the stock asop one from dark knight thread, think check fixed the wakelock issues, very similar to the Samsung version minus a number of features but based on the same source.
Sent from my GT-I9100 using XDA App
I guess you guys mean this link?
With kind regards,
patpeewee
My test results with the email.apk I had found did not really show improvement of battery usage, so I am very curious for the link that nikzDHD means. Is this the one patpeewee mentions? I did not see any remarks about wake lock issues in the op.

Categories

Resources