Battery drain issues on froyo (possible reason) - Fascinate General

I think I know what might be causing the battery drain. I did the full charge/power off/full charge/reset stats thing last night. Then I left it off the charger starting at 11pm. Woke up at 5am and the battery was almost drained. That's horrible. Yes I had turned off mobile data as well. It was on wifi only. Add to that, I had JuiceDefender installed to see if it would help. It didn't. What was interesting though was what JuiceDefender's log was reporting to me. JuiceDefender was set to bring connections online every 15 min. However, the log showed a process activating EVERY minute and using the data connection. WTF!? Every minute! This has to be what is draining the battery. So I downloaded a network traffic analyzer (Network Counter is what it's called) and checked what it said was the data usage for all the apps. My Exchange AOSP email client was using a huge amount, 135MB in total compared to the rest and I didnt receive any emails last night. None! So I removed my exchange account temporarily and suddenly, those every minute hits stopped. I noticed that the device charged faster too. This morning, I googled and found this thread on xda:
http://forum.xda-developers.com/showthread.php?t=868993
I think this is the culprit, at least for me. My question to everyone else seeing huge drains is: are you on exchange email as well? Post your comments here, I'm pretty sure this is the culprit but more testing needs to be done today.
Btw, I'm on superclean 1.0 just fyi.

phispher said:
I think this is the culprit, at least for me. My question to everyone else seeing huge drains is: are you on exchange email as well? Post your comments here, I'm pretty sure this is the culprit but more testing needs to be done today.
Click to expand...
Click to collapse
Sounds like you could be onto something. My battery has actually been quite good (~36 hours of moderate use), but I don't use Exchange at all. It'd be great if you narrowed the problem down to those using Exchange.

Just an update:
I installed an app from the market called 'Enhanced Email', it's a Touchdown competitor but only cost 1.99, much better then 20 bucks and it integrates with stock calendar and contacts, which I like. Push email is working great, I'm getting emails instantly. However, the every minute polling isn't occuring still, as it did in the AOSP email client.
I'm curious if anyone still on 2.1 who uses Exchange email (Push) would care to install Juice Defender and check the log out for the every minute data usage and report back here, would be a nice test. Make sure you remove exchange first, check the logs and verify that the polling either exists every minute or not. Then setup exchange and check again. Report back with results. I may do this myself evenutally. Easier if someone else is still on 2.1 though.

phispher said:
Just an update:
I installed an app from the market called 'Enhanced Email', it's a Touchdown competitor but only cost 1.99, much better then 20 bucks and it integrates with stock calendar and contacts, which I like. Push email is working great, I'm getting emails instantly. However, the every minute polling isn't occuring still, as it did in the AOSP email client.
I'm curious if anyone still on 2.1 who uses Exchange email (Push) would care to install Juice Defender and check the log out for the every minute data usage and report back here, would be a nice test. Make sure you remove exchange first, check the logs and verify that the polling either exists every minute or not. Then setup exchange and check again. Report back with results. I may do this myself evenutally. Easier if someone else is still on 2.1 though.
Click to expand...
Click to collapse
I am going to look into this. Just curious. Originally, how was your exchange setup? When on DL09 super clean 0.4 I had a 30 minute email check frequency, contact and calendar sync OFF and was seeing moderate battery drain where my phone wouldnt make it though a whole day if i had more that normal usage. Watching logcat, it seemed that my corporate email account would be doing something much more often then 30 minutes though. Will try this and see what happens.
Just upgraded to Superclean 1.0 DL30. Will try JuiceDefender.

Which version of juice defender are you running? I just installed "Juice Defender - battery saver" but i cant seem to customize anything. I want to set it to every 15 minutes like you do but all this app lets me do is pick pre-made settings. Do I need to get the paid (Ultimate Juice) or something else?

I encountered the same problem... I use several email account types (Exchange / IMAP / POP) and it ate my battery alive after going to DL30.
On a hunch that it may be caused by some glitch when Titanium Backup restored my old 2.1 email account information over 2.2, I deleted all email accounts and re-entered them manually. A pain in the backside to do, but the problem hasn't reappeared yet.
Hope this helps!

Retsik said:
I encountered the same problem... I use several email account types (Exchange / IMAP / POP) and it ate my battery alive after going to DL30.
On a hunch that it may be caused by some glitch when Titanium Backup restored my old 2.1 email account information over 2.2, I deleted all email accounts and re-entered them manually. A pain in the backside to do, but the problem hasn't reappeared yet.
Hope this helps!
Click to expand...
Click to collapse
Did that include google accounts?

fifreak said:
Which version of juice defender are you running? I just installed "Juice Defender - battery saver" but i cant seem to customize anything. I want to set it to every 15 minutes like you do but all this app lets me do is pick pre-made settings. Do I need to get the paid (Ultimate Juice) or something else?
Click to expand...
Click to collapse
I do have the paid version, yes. I believe that by default, it's set to 15 min, so you should be ok with the free version. However, that won't stop the polling I saw occur with the AOSP email client. The JuiceDefender log showed me that that was going on. Once I disabled my exchange account, the polling stopped. Since I changed my email program, I haven't seen it come back. The verdict is still out on if this solves my battery issue, as I'm at work and 'plugged' in lol. Could be multiple issues here, but again, the more info we have out there, the better right?
I would try what Retsik did, I didn't import my settings though but maybe reapplying the settings will work.
fifreak said:
Did that include google accounts?
Click to expand...
Click to collapse
I haven't seen this occur for gmail accounts. Just exchange.

I have my exchange server set up on my phone and have it set to do push notifications. I get my email just fine and my battery lasts all day with no problems.
The phone drains a bit faster when in use than it used to but I think that's because it was under-volted before.

fifreak said:
Did that include google accounts?
Click to expand...
Click to collapse
Yes - I'm not sure if it made any difference, but I deleted all account information and re-added them just to be sure.

phispher said:
I do have the paid version, yes. I believe that by default, it's set to 15 min, so you should be ok with the free version. However, that won't stop the polling I saw occur with the AOSP email client. The JuiceDefender log showed me that that was going on. Once I disabled my exchange account, the polling stopped. Since I changed my email program, I haven't seen it come back. The verdict is still out on if this solves my battery issue, as I'm at work and 'plugged' in lol. Could be multiple issues here, but again, the more info we have out there, the better right?
Click to expand...
Click to collapse
Where do you see the polling in the JD log? Im looking at the Activity Log under the status tab but I dont see anything about email in there. Mostly just looks like JD activities.

Wonder if this has anything to do with battery drain?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Every 10 seconds, my phone is either downloading or uploading something. Its always at a 2kb/s rate. I killed every task I could on my phone, one by one and cant kill this off. So it must be a system process.
But sometimes I will look at the widget and it shows no transfer, no heartbeat like this... then it starts up again. Only way I have been able to stop it is to turn off wifi and mobile data.

What widget is that?

Has anyone done tests with wifi off? I'm not positive, but I seem to get much better battery life, along with no clock lag when I have my wifi disabled.

1 thing I know for sure is that when I have Bluetooth on (DL30) my battery drains like crazy.
I just installed the app OS Monitor and its showing /system/bin/sensorserver_yamaha is consistently using a high amount of CPU. I am using Screebl, so I may disable it to see if that helps.
UPDATE: Yeah, it was screebl that was causing sensorserver to use high CPU. Gonna disable that for now to see how things go.
That app is network speed monitor widget. At idle, my phone shows nothing - 0 KB.
Sent from my SCH-I500 using XDA App

I've also found disabling AutoRotate from the notification menu to help with battery life and eliminate the sensor from my list of top battery users...
Guessing Samsung has a bug in the latest version of the sensor...

phispher said:
Just an update:
I installed an app from the market called 'Enhanced Email', it's a Touchdown competitor but only cost 1.99, much better then 20 bucks and it integrates with stock calendar and contacts, which I like. Push email is working great, I'm getting emails instantly. However, the every minute polling isn't occuring still, as it did in the AOSP email client.
Click to expand...
Click to collapse
Thanks for the recommendation on Enhanced Email. I've been using Touchdown for about a year because the stock mail app doesn't support my company's Exchange policies but I hated having separate calendar and contacts. I just installed Enhanced Email and removed Touchdown. I'm a little concerned that Enhanced isn't actually supporting all the policies and is only reporting that it does, but I'll play dumb for now.

I installed the EnhancedEmail as suggested. I think I am seeing an improvement using it but only when using push email. When I had it set for poll every 15 minutes, I was getting a lot of drain. I need to give this setup more time to test though.

Better with Enhanced Email
I installed the "Enhanced Email" at 10 this morning. It's now 2:30 and i've only lost 5% battery. Using Juice defender and wifi off. This is much improved for me and similar to what i was getting with DL9.
I'm using stock DL30.

fifreak said:
I installed the EnhancedEmail as suggested. I think I am seeing an improvement using it but only when using push email. When I had it set for poll every 15 minutes, I was getting a lot of drain. I need to give this setup more time to test though.
Click to expand...
Click to collapse
Now Im not so sure this was a great improvement. My battery drained quickly yesterday evening. I'm pretty sure that the network speed monitor widget was the main culprit but I disabled that and still saw a lot of drain. Also the system process mmcqd is by far taking up the most cpu. Trying to investigate that.

Related

G2 email application causes inordinate battery drain

I can conclusively state that the "Email" application on our G2 is responsible for consuming an inordinate amount of battery, because it does not properly sleep. When I had my phone configured to use Exchange/Activesync via the built-in sync and Email application, it would consistently be at the top of the "partial wake" list. Generally, the partial wake breakdown is a good starting point to determine which apps may be misbehaving. The following bug appears to be what we are seeing here:
http://code.google.com/p/android/issues/detail?id=9307
To validate the battery drain, I completely deleted the account associated with Exchange and installed Touchdown (3rd party Exchange sync app). The difference is substantial. I was previously at 50% battery after just a few hours, where I can now make it easily through the entire day without charging.
Short story: If you're using the built in Email app (not Gmail, that is fine), try removing the account associated with it for a day and observe the change in battery life.
rmk40 said:
I can conclusively state that the "Email" application on our G2 is responsible for consuming an inordinate amount of battery, because it does not properly sleep. When I had my phone configured to use Exchange/Activesync via the built-in sync and Email application, it would consistently be at the top of the "partial wake" list. Generally, the partial wake breakdown is a good starting point to determine which apps may be misbehaving. The following bug appears to be what we are seeing here:
http://code.google.com/p/android/issues/detail?id=9307
To validate the battery drain, I completely deleted the account associated with Exchange and installed Touchdown (3rd party Exchange sync app). The difference is substantial. I was previously at 50% battery after just a few hours, where I can now make it easily through the entire day without charging.
Short story: If you're using the built in Email app (not Gmail, that is fine), try removing the account associated with it for a day and observe the change in battery life.
Click to expand...
Click to collapse
I've also noticed this, if you search this forum for activesync you'll find where I diagnosed it along with the facebook app as being two things that drain your battery.
My fix was to instead just forward my email to a gmail and use gmail's push functionality. Works great, and gmail lets you change your "send from" address so it's completely transparent to anyone you send mail to.
Just thought I'd let you know you're not the only one.
The "email" (NOTE: NOT GMAIL) app does seem to drain battery, at least when used with Exchange ActiveSync.
Did u guys change the check interval time? Iirc when u make an account it defaults to checking every 15 minutes. Sure way to kill the battery. Just a thought
Sent from my T-Mobile G2 using XDA App
The Great NY said:
Did u guys change the check interval time? Iirc when u make an account it defaults to checking every 15 minutes. Sure way to kill the battery. Just a thought
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Unfortunately the interval makes no difference. The app basically does not sleep, even if I set it to never poll. In fact, I set it to not poll at all for an entire day and rebooted before writing this post.
There must be something else at play on your setup. I have zero problems with partial wake using the email app with my company's exchange server.
I have Exchange sync set on push, gmail set on push, and 2 other accounts set to 1 hour polling, and I get a full day's use out of the battery. Off the charger at 6 AM, back on around 11 PM (usually with about 25% battery remaining).
jgriff63 said:
I have Exchange sync set on push, gmail set on push, and 2 other accounts set to 1 hour polling, and I get a full day's use out of the battery. Off the charger at 6 AM, back on around 11 PM (usually with about 25% battery remaining).
Click to expand...
Click to collapse
Same. But 9am to 2am
My battery will drain significantly faster just by having gmail sync activated...so for me, that's just as much of a kill. I don't really need that feature for the time being so I've turned it off which doubles my usage time
Sent from my T-Mobile G2 using XDA App
Again syncing email with the company exchange server, syncing tweetdroid every 9 minutes after 8 hour so f very light use still at 86%
Perhaps volume of email is a factor. I get 200+ emails per day and I can imagine that having an affect on perceived battery drain
Sent from my T-Mobile G2 using XDA App

MAJOR battery drain from Mail app

Dear all
I've only had my SGSII a week or so but have been very unimpressed with the battery life I've been achieving - not even a full working day.
I've been trying to work out what's going on, but this morning things really seemed to come to a head. I'd charge overnight but within an hour and a half of disconnecting the phone almost half the charge had gone & the back of it felt very warm to touch.
Looking at the battery stats and using the Watchdog program it looks like the Samsung Email app is to blame. I also saw the phone was marked as 'awake' much of the time, presumably due to a partial wakelock from the Mail app (battery history in Gingerbread doesn't seem to actually have partial wakelock as a category but this certainly looks like it). I've got three accounts setup in it - 2x Microsoft Exchange and 1x IMAP. Refresh times were initially push (MSEx 1)/manual (MSEx 2)/15 min (IMAP). I've tried changing them all to 15 min or to manual but it doesn't seem to improve matters. In case it is of relevance, the MSEx ones are imposing device & storage encryption as part of their policies (I've no choice in this).
Relevant screenshots below - would be grateful for any thoughts as to how and improve matters!
What firmware are you on? I believe the later ones fix the email app slightly, although I haven't seen any drain as bad as yours.
Another option, if you don't mind flashing a custom ROM, would be to install VillainROM 1.4, and use the Villain Tweaks app to get the vanilla Android e-mail app. It's what I've done, and it seems to work well!
Thanks for the reply. I'm just on the stock ROM that came with the phone (XWKE7) - both update on the phone and Kies don't report any further update being available for me (UK SIM-free unbranded).
I tried rooting this morning and used TB to freeze some of the Samsung rubbish (hubs, etc.) - however none of this made any difference to battery usage.
I wasn't sure how the stock email app handled MS Exchange accounts that required encryption? The Samsung Mail app isn't that bad, I particularly liked the split pane view - it seems really badly coded though if it's causing this!
Short of a total ROM replacement any other thoughts from anyone?
delete the data from the app
settings/applikations/all/email/ delete or wipe user data (all data).
make a new Mailaccount.
spline1 said:
delete the data from the app
settings/applikations/all/email/ delete or wipe user data (all data).
make a new Mailaccount.
Click to expand...
Click to collapse
Thanks - had been looking for this but couldn't find anything under 'Mail' - found it under 'Email' as you mention As soon as I deleted the data it recognised the device encryption policy had been removed and this triggered a decryption of system and external storage. I'll monitor battery usage for a few hours then reinstate the IMAP account and monitor things again before finally restoring the ActiveSync account.
OK definitely some progress so far - only IMAP account added just after charging stopped and battery usage has dramatically improved...
Now going to try adding an MS Exchange account!
OK, so far so good - MS Exchange account added back in and left on overnight...
I wonder if the mistake was when first setting up the account picking the special Samsung 'premium account' option??
OK - I'm now suspicious that it is manual sync setting that is causing the issue - re-added a second Exchange account and put it all to manual - phone almost totally drained in a couple of hours, with the sharp drop occuring just after I added that:
Have tried removing just that account and hope that will do the trick. If so, will then try adding it again but setting a sync time rather than leaving it on manual.
I've switched to touchdown for my corporate ms exchange account (push) instead of the samsung app.
Battery life gone from 7 hours to about 16 hours. I can't believe the native app is so thirsty. (KE7 stock)
Sent from my GT-I9100 using XDA App
What's interesting was that I was getting around 16+ hours too with the stock app having an MS Exchange account (on push peak times and 15 min other times) an IMAP on 15 min and a few Gmail accounts. It seemed to be adding the 2nd Exchange account on manual sync that sucked the battery life again. Am going to try readding it but paradoxically leaving it on a more frequent sync setting to see how that does.
If i remember correctly, it was observed that the mail app (non gmail) and wifi interact to cause a lovely wakelock, and that it happens with stock and samsung.
Maybe try something like k-9 mail?
Intersting - it certainly seems to behave like a wakelock. As I say though with one account on push and one in 15 min it was working fine - it was only when I tried to add a second exchange account on manual that I started to run into problems. Pretty poor coding on Samsung's part though regardless! Does anyone know the best way to raise these sort of issues with them?
Get in touch with Seven as well they produce the email app. I have mine on push with exchange and no bad battery drains, also I run manual when in the office once again no heavy drainage. I am on VR though.
Sent from my GT-I9100 using XDA App
alanjrobertson said:
Does anyone know the best way to raise these sort of issues with them?
Click to expand...
Click to collapse
In USA, they just introduced this
http://www.facebook.com/SamsungMobileUSA?sk=app_158125230916392
but obviously I doubt we can use this for SGS2 that is not out in the US yet.
You can however say that you are traveling, in the States right now
Thanks for the suggestions, folks - will try them. The @SamsungUK twitter account never seems to reply to any Tweets, but will see if they have a comparable FB page. Have found Seven's website so will get in touch with them too.

android push notifications

ok, so we've had push notifications for quite some time now, since 2.2
does anyone know the reason why SO many apps(big ones, too) seem to refuse to implement push notifications?
facebook says they have them, but they've never worked for me ever. and there's no settings for them. only for polling
official twitter app still polls
words with friends polls
etc
do these devs just not want to add in support for 2 sets of phones? 2.2+ and everyone below 2.2?
i can't think of any reason why this happens, but its a huge issue in my eyes. android phones get bad enough battery life as is.
if you go into facebook and enable notifications but set poll time to never you get push notifications
Tried it. It's never worked on my n1, and I know I'm not the only one.
My gf gets them on her sensation though
Don't use Facebook as an example. Their app is pure garbage. Lots of apps use Push. Trillian, Skype, Talk, eBuddy, etc...
Yes but my point is lots of apps also don't use push still. Apps that are updated regularly. It makes no sense to me that devs are seemingly ignoring it.
My thoughts exactly. Does it cost more to implement push notification?
Twitter app is updated. Says they added push, yet, just like the facebook app, there are 0 settings for push and only options for polling
I don't ****ing get it. These companies must put their A and B teams on iphone apps and their H teams on android
mattpannella said:
Twitter app is updated. Says they added push, yet, just like the facebook app, there are 0 settings for push and only options for polling
I don't ****ing get it. These companies must put their A and B teams on iphone apps and their H teams on android
Click to expand...
Click to collapse
There are options for Twitter. They're just buried under each account.
http://techcrunch.com/2011/07/13/tw...upports-multiple-profiles-push-notifications/
Also, you must be running your own H team since the term is pull, not poll.
Erigion said:
Also, you must be running your own H team since the term is pull, not poll.
Click to expand...
Click to collapse
Both terms are correct, but polling is more common.
pfmiller said:
Both terms are correct, but polling is more common.
Click to expand...
Click to collapse
Google search must be incredibly wrong then
The only options under the profile are for polling (the correct term. it periodically polls the server for updates). Just like the facebook one there's no sign of any push options anywhere
Your question was already answered. It is under the account settings.
Clarkster said:
Your question was already answered. It is under the account settings.
Click to expand...
Click to collapse
yeah, except it's not
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ok, so apparently "automatic refresh" means push notifications? thats so misleading. it's not refreshing anything, then
yet there is still an option to set how often it polls the server, with no option for never
ugh
either way, this still backs up my point that they have ****ty devs making these apps
I'm pretty sure this is a feature for people who follow hundreds, if not thousands, of people who don't want to be pushed a notification every second of every day. They must figure that people with a lot of followers would rather see a big chunk of updates at once rather than being notified to death.
And yes, "Automatic Refresh" doesn't sound like push notification at all but that's just part of the crummy UI of the official twitter app.
mattpannella said:
Tried it. It's never worked on my n1, and I know I'm not the only one.
My gf gets them on her sensation though
Click to expand...
Click to collapse
Trust me i've tryed and it works for me and a lot of my friends, to enable Facebook push notifications:
1 kill the application in "application manager" and erase data and cache.
2 Go to facebook.com with pc and deactivate your account (don't worry you won't lose anything)
3 after a minute log in again with the pc
4 and now log in with you phone
Now it should work.
Try and tell me if it works. i've set the update period to 4 hours.
i apologize for my english :\
AnthonyTex said:
Trust me i've tryed and it works for me and a lot of my friends, to enable Facebook push notifications:
1 kill the application in "application manager" and erase data and cache.
2 Go to facebook.com with pc and deactivate your account (don't worry you won't lose anything)
3 after a minute log in again with the pc
4 and now log in with you phone
Now it should work.
Try and tell me if it works. i've set the update period to 4 hours.
i apologize for my english :\
Click to expand...
Click to collapse
That's what I did to get mine working too. Just deactivate your account on the Facebook website, and then activate it again. Push starts working right after you log back in on the web and your phone.
mattpannella said:
yeah, except it's not
Click to expand...
Click to collapse
I have the latest version of twitter, 2.1.2, and there is no "automatic refresh" above the sync contacts setting. Cool?
AnthonyTex said:
Trust me i've tryed and it works for me and a lot of my friends, to enable Facebook push notifications:
1 kill the application in "application manager" and erase data and cache.
2 Go to facebook.com with pc and deactivate your account (don't worry you won't lose anything)
3 after a minute log in again with the pc
4 and now log in with you phone
Now it should work.
Try and tell me if it works. i've set the update period to 4 hours.
i apologize for my english :\
Click to expand...
Click to collapse
Dang... I was really, really hoping this would work. I deleted the data for the app on my phone and deactivated my facebook account. I then reactivated my account and then logged in in my phone. I have since had 2 facebook notifications show on the web browser, but I have yet to have any sort of notification on my phone.
This has been especially bad since the gmail app no longer allows other apps to see the email, which knocked out my "push" notifications for facebook from Friendcaster Pro. Grr... I just want push notifications.
bassmadrigal said:
Dang... I was really, really hoping this would work. I deleted the data for the app on my phone and deactivated my facebook account. I then reactivated my account and then logged in in my phone. I have since had 2 facebook notifications show on the web browser, but I have yet to have any sort of notification on my phone.
Click to expand...
Click to collapse
I hoped it would work to. No such luck. I did the deactivate thing and don't see any change.

[Q] exchange email destroying my battery...and life

I know there are already numerous topics on this, and some temp Fixes, but I am about to just get rid of this phone, android, its so frustrating....and yes, i do need exchange email for my job,....this is whats going:
I'm seriously beyond annoyed at this point, exchange email is destroying my battery life on my nexus 4 running stock 4.2.2 (30% to 40% of battery consumption) ... I have done all the little "fixes" and troubleshooting that you can possible do to try to fix this and have spent hours searching online for any fixes, and all I have found is people having the same issue as me.....this is what I have done already:
I've removed the exchange email,
re-booted
re-added
cleared cache
clear data
re-booted
disabled
enable
set days to sync to 1 days, 3 days, automatic, etc....
check frequency to push, never, 1 hour etc....
I've disabled auto-sync data
enabled
i went to my outlook 365 web settings and under phones i deleted the nexus 4 profile..
in the exchange email settings on my phone i have used "m.outlook.com" for my server name
and the generic server name pulled from the outlook 365 web address recommended by the IT guy at my job
i have used and removed the Port "443"
the only thing i haven't done is throw the phone against the wall
oh and I have done factory reset TWICE! and that fixes the issue temporarily until this starts occurring again, oh and did i mention it gets super hot over 101°....the weird thing is I have the same exchange email setup on my nexus 7 and it barely hits 3% of battery usage, so why is my nexus 4 suffering from exchange email battery drain, and my nexus 7 doesn't? Unfortunately i work in a job where i need PUSH email on due to the industry i work in (merchants/e-commerce) my job offered to get me a company iPhone and I don't want to carry 2 phones, especially an iPhone.....anyone know any magical secret to fixing this? Or is this a 4.2+ bug that has no solution at this point....
Are you using a custom kernel? If not flash one. I recommend trinity, but test and choose which works best for you. Lower the CPU some to reduce the heating with any various app. I'm using trickster mod.
I have stock email set but I have it to manual updating. I get roughly 7-8 hours screen hours screen on time with WiFi around 5 with mobile data. Hope this helps some.
benman715 said:
Are you using a custom kernel? If not flash one. I recommend trinity, but test and choose which works best for you. Lower the CPU some to reduce the heating with any various app. I'm using trickster mod.
I have stock email set but I have it to manual updating. I get roughly 7-8 hours screen hours screen on time with WiFi around 5 with mobile data. Hope this helps some.
Click to expand...
Click to collapse
No i am running stock android 4.2.....Thanks for the advice, but I do not want to flash, root, etc... my stock nexus 4. I shouldn't have to in order to fix something that comes stock in android 4.2. I would prefer to just run the stock android and let Google deal with updates, I know android phones are awesome at customization, but I am one who likes stock android as is (nexus devices) I dont like tweaking with custom roms, no matter how stable they are, cause I always read threads on people always having issues with apps not being compatible, radio issues, manual updates on roms, etc...but I completely understand the benefits of custom roms and kernels, as you pointed out above. thanks again but this is not going to solve my issue.
I reckon I understand your feeling although the whole reason I got this device is for customization. With newer phones boot loaders being locked down and a drag to work with, this thing is great.
If you keep it stock thats fine but to save batter youd probably have to cut down a lot. Turn screen brightness all the way off, disable auto sync, disable apps you dont use so they dont run in the background. Turn off GPS and location settings unless they're in use. Stay on WiFi / 2G when not using data. Kinda a drag yano?
benman715 said:
I reckon I understand your feeling although the whole reason I got this device is for customization. With newer phones boot loaders being locked down and a drag to work with, this thing is great.
If you keep it stock thats fine but to save batter youd probably have to cut down a lot. Turn screen brightness all the way off, disable auto sync, disable apps you dont use so they dont run in the background. Turn off GPS and location settings unless they're in use. Stay on WiFi / 2G when not using data. Kinda a drag yano?
Click to expand...
Click to collapse
exactly, I mean i get the pros and cons for both stock and flashing, rooting etc....but I am no dev, and i know some of the stuff is easy to do, but I get OCD about having to worry if the kernel or ROM is up to date, will all my favorite apps work, what if I brick my phone etc....i just like the nexus devices where it is bone stock.....
as for all the other settings for saving the battery, I already do all the battery saving tips, but its funny cause they dont seem to affect the battery as much as the email exchange...i should have posted a pic...
Weird indeed. I'm using three e-mail accounts on my phone with hourly updates and it doesn't kill the battery. I still get 4 hours of screen on time (need to charge once in 24 hours usually). Did you set it so that it doesn't download attachments, pictures etc?
drbrainsol said:
Weird indeed. I'm using three e-mail accounts on my phone with hourly updates and it doesn't kill the battery. I still get 4 hours of screen on time (need to charge once in 24 hours usually). Did you set it so that it doesn't download attachments, pictures etc?
Click to expand...
Click to collapse
I am using the exchange email (yellow and white icon) that comes stock in android 4.2, and I have it set to Push notification which is suppose to help with battery, and i have turned off that setting that says "auto download attachments on WIFI only" but that setting is for WIFI only which doesnt make sense cause even with it off, when I am on regular 4G data, its still killing battery.....
I give up...maybe with all the current complaints on this issue, google may send out a new update.....
gmonterrosa82 said:
I am using the exchange email (yellow and white icon) that comes stock in android 4.2, and I have it set to Push notification which is suppose to help with battery, and i have turned off that setting that says "auto download attachments on WIFI only" but that setting is for WIFI only which doesnt make sense cause even with it off, when I am on regular 4G data, its still killing battery.....
I give up...maybe with all the current complaints on this issue, google may send out a new update.....
Click to expand...
Click to collapse
i wish i could help, but i'm using my Nexus 4 the exact same as yours (100% stock) and i've not had any of those problems (my Exchange Service is sitting at 3%), so it may not be as widespread as you think.
good luck with this though.
Question to the OP. Are you adding your exchange through the email app or in settings > accounts > corporate?
Sent from my Nexus 7 using xda premium
Lucke said:
i wish i could help, but i'm using my Nexus 4 the exact same as yours (100% stock) and i've not had any of those problems (my Exchange Service is sitting at 3%), so it may not be as widespread as you think.
good luck with this though.
Click to expand...
Click to collapse
its weird i know, but if you spend as many hours, days, searching the internet like I have, you will find how many many people are having this issue on android 4.1 and above.....My head hurts from reading so many threads with my exact issue, and people giving some temp fixes, and some fixes that didnt even work....its frustrating,
but i will say i just re-added my exchange email and chose 1 month of emails to download rather then "automatic" and so far its creeping up to 2% but getting hot.....its at 92 degrees
El Daddy said:
Question to the OP. Are you adding your exchange through the email app or in settings > accounts > corporate?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
ah, good question, so I have tested both methods, adding it through the "corporate" option, and adding it through "email" option, both gave me identical issues....do you know which method I should be using? I mean i already tried both, and both were draining my battery but if I can just focus on just one method then it wont drive me crazy.....The only difference I notice is, when you do it through "corporate" it goes straight into the exchange settings, when you go through the "email" method it will ask you after entering the email address and password, "POP3, IMAP, and exchange...i chose exchange, and then it goes into the default exchange settings area just like the email option....
gmonterrosa82 said:
ah, good question, so I have tested both methods, adding it through the "corporate" option, and adding it through "email" option, both gave me identical issues....do you know which method I should be using? I mean i already tried both, and both were draining my battery but if I can just focus on just one method then it wont drive me crazy.....The only difference I notice is, when you do it through "corporate" it goes straight into the exchange settings, when you go through the "email" method it will ask you after entering the email address and password, "POP3, IMAP, and exchange...i chose exchange, and then it goes into the default exchange settings area just like the email option....
Click to expand...
Click to collapse
I was just curious because I use the "corporate" method with my work account, but don't have any issues. I will see heavy battery drain if our server goes down, otherwise I don't have issues.
Another thing you could try is an app from the market. I know its probably not an ideal solution, but maybe something like touchdown will alleviate the issue.
Sent from my Nexus 7 using xda premium
El Daddy said:
I was just curious because I use the "corporate" method with my work account, but don't have any issues. I will see heavy battery drain if our server goes down, otherwise I don't have issues.
Another thing you could try is an app from the market. I know its probably not an ideal solution, but maybe something like touchdown will alleviate the issue.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yeah i am currently using the corporate method, and it still sucks battery.....but you know what I have notice, which may be a clue, the internet at my job is really really slow, our outlook emails take forever sometimes to send, receive, etc....so I am going to assume this is probably affecting my email on my phone as well....so I just set my exchange email to "never" check instead of "push" and i have told my job that their slow internet is killing my phones battery lol
Been using this phone and the stock email client for exchange since launch and have used multiple roms & kernels. Never had any battery drain issues and things were only getting better...until Monday of this week. That's when all hell broke loose. Full battery drained in record time. Overheating, barely responsive and overall just not being a good phone. Tried going back to stock and some other rom / kernel combos. Even tried a sim from a different carrier, the problem persists.
A couple days prior to phoneageddon I was prompted to setup the email app as a device administrator (See ScreenShot) a hand full of times. I usually only see this whenever I setup the account, after a wipe and whatnot. Since phoneageddon I have noticed that whenever the exchange services starts to act up, I know that sometime soon I will be prompted again. Whether or not this is related or not is unknown.
I just so happen to be an Exchange Admin at my company and know that no policy changes have been made in past couple weeks and that Windows patches were installed on the 1st.
We have ~2000 mobile devices of different flavors connecting to our mail system and so far no one else has reported a problem. Until this is resolved I have gone back to using TouchDown, no problems what so ever.
I will try to reproduce the problem fresh tomorrow or this weekend sometime and grab the logs from the server to post on here. I went through them once before and nothing stood out.
hideous said:
Been using this phone and the stock email client for exchange since launch and have used multiple roms & kernels. Never had any battery drain issues and things were only getting better...until Monday of this week. That's when all hell broke loose. Full battery drained in record time. Overheating, barely responsive and overall just not being a good phone. Tried going back to stock and some other rom / kernel combos. Even tried a sim from a different carrier, the problem persists.
A couple days prior to phoneageddon I was prompted to setup the email app as a device administrator (See ScreenShot) a hand full of times. I usually only see this whenever I setup the account, after a wipe and whatnot. Since phoneageddon I have noticed that whenever the exchange services starts to act up, I know that sometime soon I will be prompted again. Whether or not this is related or not is unknown.
I just so happen to be an Exchange Admin at my company and know that no policy changes have been made in past couple weeks and that Windows patches were installed on the 1st.
We have ~2000 mobile devices of different flavors connecting to our mail system and so far no one else has reported a problem. Until this is resolved I have gone back to using TouchDown, no problems what so ever.
I will try to reproduce the problem fresh tomorrow or this weekend sometime and grab the logs from the server to post on here. I went through them once before and nothing stood out.
Click to expand...
Click to collapse
wow sounds similar to me, its just unacceptable, and the IT guy here just informed me that he hasnt changed anything on his end, so it cant be the servers fault for the massive draining of battery on my phone, he told me all the other users with iphones, are set up the same, PUSH, and automatic email downloads, and none of them are reporting any massive battery draining.
Currently my phone is set to PUSH and 1 week of emails to download, and its already at 19% battery usage for exchange services and 18% email.....this blows...
I wonder why this is happening
Ran the stock email client with logging enabled over the weekend and was unable to reproduce the issue. So the fix is... Enable logging!
BTW, if your Exchange admin allows it, you should be able to access the Exchange Control Panel and start logging for your device yourself. Check with your Admins first!
**While you shouldn't be able to anything to destructive in the ECP, you take full responsibility for what may happen.**
How to access the Exchange Control Panel - See ScreenShot:
Log into your company's webmail (OWA)
Click Options (Top Right of screen)
Click 'See All Options'
-OR -
Directly by replacing /OWA with /ECP at the end of the URL. From this: https://email.YOURCOMPANY.com/OWA to this https://email.YOURCOMPANY.com/ECP
Once there, click Phone, find your current device in the list and click start logging.
-----
DO NOT FORGET TO STOP THE LOG!
-----
To stop logging follow the same instructions, but this time the 'Start Logging' button will say 'Retrieve Logs'. It will then email you the log file.
I was getting a 3-5mb log for 24 hours with everything working normally.
It's probably not a good idea to blindly post the log on the internet as it could have personal / company information within. Either sanitize it or if you would trust a random nerd on XDA, PM me and I can help.
hideous said:
Ran the stock email client with logging enabled over the weekend and was unable to reproduce the issue. So the fix is... Enable logging!
BTW, if your Exchange admin allows it, you should be able to access the Exchange Control Panel and start logging for your device yourself. Check with your Admins first!
**While you shouldn't be able to anything to destructive in the ECP, you take full responsibility for what may happen.**
How to access the Exchange Control Panel - See ScreenShot:
Log into your company's webmail (OWA)
Click Options (Top Right of screen)
Click 'See All Options'
-OR -
Directly by replacing /OWA with /ECP at the end of the URL. From this: https://email.YOURCOMPANY.com/OWA to this https://email.YOURCOMPANY.com/ECP
Once there, click Phone, find your current device in the list and click start logging.
-----
DO NOT FORGET TO STOP THE LOG!
-----
To stop logging follow the same instructions, but this time the 'Start Logging' button will say 'Retrieve Logs'. It will then email you the log file.
I was getting a 3-5mb log for 24 hours with everything working normally.
It's probably not a good idea to blindly post the log on the internet as it could have personal / company information within. Either sanitize it or if you would trust a random nerd on XDA, PM me and I can help.
Click to expand...
Click to collapse
Hey sorry I am a little confused about the part that says "DO NOT FORGET TO STOP THE LOG!"
So am I suppose to stop the logging at a certain point? And what is the logging suppose to do?
I went into the control panel in the web outlook, and now I am logging.....And sadly the exchange service and email are slowly creeping up to 10% battery usage, and its getting higher and higher as we speak....
I set it to default settings as i did before (Check frequency to Automatic Push) and days to sync always default to "one Month"
and its at 12% now.....this is so frustrating...and the IT guy was not helpful, he said its nothing on his end, which i can understand because this was never an issue on my phone before. now its just massive battery usage....I give up I am going to just create a bookmark shortcut and access the web outlook 365 and have to manually check every once and a while
gmonterrosa82 said:
Hey sorry I am a little confused about the part that says "DO NOT FORGET TO STOP THE LOG!"
So am I suppose to stop the logging at a certain point? And what is the logging suppose to do?
I went into the control panel in the web outlook, and now I am logging.....And sadly the exchange service and email are slowly creeping up to 10% battery usage, and its getting higher and higher as we speak....
I set it to default settings as i did before (Check frequency to Automatic Push) and days to sync always default to "one Month"
and its at 12% now.....this is so frustrating...and the IT guy was not helpful, he said its nothing on his end, which i can understand because this was never an issue on my phone before. now its just massive battery usage....I give up I am going to just create a bookmark shortcut and access the web outlook 365 and have to manually check every once and a while
Click to expand...
Click to collapse
AFAIK the logging will continue until you tell it to stop. Which means the file size will continue to grow.
You should stop logging after you have been having issues for a while and take a look.
hideous said:
AFAIK the logging will continue until you tell it to stop. Which means the file size will continue to grow.
You should stop logging after you have been having issues for a while and take a look.
Click to expand...
Click to collapse
Well I stopped it, I never got any report, or any attachments of any report...
I probably didnt do it correctly, however I am still getting high battery usage, Right now it shows Exchange service at 23% and the email usage at 21%.... phones temperature is at 92 degrees, very hot!
I just removed the account, and disabled the email service, cleared data, force stop, and it still shows that its draining the battery lol
wow I give up, My job will have to provide me with an iphone.....so i will have 2 phones YAY!

[SOLVED] Gmail after last update (5.0.1 - Dec 16)

Gmail has been killing my battery for almost 2 days, I haven't changed a single setting in the Gmail app or any account info, but it seems that with the new update Google messed up the Gmail app.
I charged the phone before going to sleep, and then went to bed to see the drain overnight (I usually do this to see if something is wrong), and when I woke up, I had a drain of about 15% overnight when usually I have around 5%.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Besides this, it seems that the app itself is behaving real bad, I usually turn off sync when I'm not on my home or work, and today I received a mail when sync off.
Have any of you guys have a similar experience?.
- - - - - - -
Solution
It seems that there are some problems with no Gmail accounts and sync, so I deleted manually all the accounts, deleted the cache and the data of the Gmail app and re added everything. It has been a day and it seems that the problems is gone.
:good:
I'm using Inbox and no problems with battery drain
fabioccoelho said:
I'm using Inbox and no problems with battery drain
Click to expand...
Click to collapse
I tried to use Inbox, but it lacked of support for another kind of accounts (Outlook, Yahoo).
It seems weird this update, everyday is the same, and although battery life in Maxx is really good, this still is a big problem.
:crying:
You likely have an account that is stuck in the syncing/refreshing phase. I'd suspect its a non-gmail account.
Clear data from Gmail and then force stop it. Then open it up and let it resync.
adrynalyne said:
You likely have an account that is stuck in the syncing/refreshing phase. I'd suspect its a non-gmail account.
Clear data from Gmail and then force stop it. Then open it up and let it resync.
Click to expand...
Click to collapse
I already tried to do that since the last update, also rebooting the phone and more over, to force the stop in the app and cleared the cache also.
Besides, this shouldn't be happening, I mean, the only change in the last few days was the update, so it's likely that the problem is that.
I have also researched on internet, and it seems that couple of people is also reporting it.
Galaxo60 said:
I already tried to do that since the last update, also rebooting the phone and more over, to force the stop in the app and cleared the cache also.
Besides, this shouldn't be happening, I mean, the only change in the last few days was the update, so it's likely that the problem is that.
I have also researched on internet, and it seems that couple of people is also reporting it.
Click to expand...
Click to collapse
I use Gmail and no problem so far. I always leave sync off and swipe down to refresh. Here's a screen shot from this morning.
emgo said:
I use Gmail and no problem so far. I always leave sync off and swipe down to refresh. Here's a screen shot from this morning.
Click to expand...
Click to collapse
Problem is that even with sync off, I'm still receiving mail; that's why I think that the update is messed up.
Galaxo60 said:
Problem is that even with sync off, I'm still receiving mail; that's why I think that the update is messed up.
Click to expand...
Click to collapse
I have the update but I have HD voice turned off, don't know why that would matter. I almost forgot, I also removed most of the apps listed in the "Apps to Remove for Pure Android" thread.
Try uninstalling gmail reboot then install gmail once back booted up.
Galaxo60 said:
I already tried to do that since the last update, also rebooting the phone and more over, to force the stop in the app and cleared the cache also.
Besides, this shouldn't be happening, I mean, the only change in the last few days was the update, so it's likely that the problem is that.
I have also researched on internet, and it seems that couple of people is also reporting it.
Click to expand...
Click to collapse
How many other accounts do you have synced with Gmail? Maybe try removing the accounts one by one until your battery drain goes away.
wadamean said:
Try uninstalling gmail reboot then install gmail once back booted up.
Click to expand...
Click to collapse
I can´t uninstall Gmail because is a system app.
:cyclops:
emgo said:
I have the update but I have HD voice turned off, don't know why that would matter. I almost forgot, I also removed most of the apps listed in the "Apps to Remove for Pure Android" thread.
Click to expand...
Click to collapse
I also disabled many apps that I don´t use, but I don´t think this matters for the problem I have.
upther said:
How many other accounts do you have synced with Gmail? Maybe try removing the accounts one by one until your battery drain goes away.
Click to expand...
Click to collapse
I have 1 Gmail, 1 Outlook and 1 Yahoo account, I will try to see if this could fix the problem.
Galaxo60 said:
I can´t uninstall Gmail because is a system app.
:cyclops:
I also disabled many apps that I don´t use, but I don´t think this matters for the problem I have.
I have 1 Gmail, 1 Outlook and 1 Yahoo account, I will try to see if this could fix the problem.
Click to expand...
Click to collapse
Use App Master and uninstall it
Galaxo60 said:
I can´t uninstall Gmail because is a system app.
:cyclops:
I also disabled many apps that I don´t use, but I don´t think this matters for the problem I have.
I have 1 Gmail, 1 Outlook and 1 Yahoo account, I will try to see if this could fix the problem.
Click to expand...
Click to collapse
You do know gmail now allows to link other emails right? u can use hotmail, outlook, and yahoo via gmail app.
What I have done, is install a third party app (cloud magic) and use it for all my email accounts.
I actually have both my email and gmail apps disabled.
Sent from my XT1254 using XDA Free mobile app
Galaxo60 said:
I can´t uninstall Gmail because is a system app.
:cyclops:
I also disabled many apps that I don´t use, but I don´t think this matters for the problem I have.
I have 1 Gmail, 1 Outlook and 1 Yahoo account, I will try to see if this could fix the problem.
Click to expand...
Click to collapse
Do you tried uninstall updates of Gmail app?
fabioccoelho said:
Do you tried uninstall updates of Gmail app?
Click to expand...
Click to collapse
Yes u install the update and then disable
mathab said:
Use App Master and uninstall it
Click to expand...
Click to collapse
I´m not root, so I think it won´t work.
the_rooter said:
You do know gmail now allows to link other emails right? u can use hotmail, outlook, and yahoo via gmail app.
Click to expand...
Click to collapse
That´s what I meant, I have all my 3 accounts on the Gmail app.
:cyclops:
gimpy1 said:
What I have done, is install a third party app (cloud magic) and use it for all my email accounts.
I actually have both my email and gmail apps disabled.
Sent from my XT1254 using XDA Free mobile app
Click to expand...
Click to collapse
I prefer to use the stock apps, just to feel the stock Android experience.
:silly:
fabioccoelho said:
Do you tried uninstall updates of Gmail app?
Click to expand...
Click to collapse
the_rooter said:
Yes u install the update and then disable
Click to expand...
Click to collapse
I tried to delete cache and the data, re added the accounts again and it seems that it solved the drain.
:fingers-crossed:

Categories

Resources