Google Search keeping phone awake? - Nexus 5 Q&A, Help & Troubleshooting

Google search seems to be keeping my phone awake and destroying my battery.
Using the GEL, my phone was awake any time my launcher was active. Switching to Nova, it seems this issue is mitigated, however if I ever go to use the search app (or Now), it initiates the battery rape-fest.
Just wondering if anyone else has had this issue. I know lots of people here have their data and/or wifi enabled/connected 24/7, so it may not effect them.
I'm linking photos stored in my DB account showing some of these battery drains.
https://www.dropbox.com/s/jhw1f4prbneyg45/2013-12-26 06.19.30.png
https://www.dropbox.com/s/gfhr2vf1z5kf4tw/2013-12-26 06.19.24.png
https://www.dropbox.com/s/0f506skwf26q3se/2013-11-27 01.43.17.png
https://www.dropbox.com/s/ky7yjo2628p1ngl/2013-11-27 01.43.22.png
https://www.dropbox.com/s/dr0e2jjswt52mce/2013-11-27 01.43.26.png
The periods of no signal is when I'm at work - there's no service out here so I might as well have it on airplane mode.
Unfortunately, I really like the GEL, and was hoping that there'd be an easy fix to this. Switching run times doesn't help. I'm currently on ART.
Any advice is helpful.

Do you have hot word detection on? If so then it off that could be triggering it it solved the issue I had with it
Sent from my Nexus 5 using Tapatalk

Once or twice Search would keep my phone awake and drain the battery. Something to do with toggling some Location settings on or off.
Force stopping the application fixed the issue for me each time once I noticed it on my battery list.

bblzd said:
Once or twice Search would keep my phone awake and drain the battery. Something to do with toggling some Location settings on or off.
Force stopping the application fixed the issue for me each time once I noticed it on my battery list.
Click to expand...
Click to collapse
Hmm I also had this problem and also was tinkering with location settings the other night... interesting. If it starts acting up I'll force stop it.

I wanted to disable or uninstall Google Now and Google search and it wiped my homescreen

kevtrysmoddin said:
Do you have hot word detection on? If so then it off that could be triggering it it solved the issue I had with it
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This was the first thing i thought of. I turned it off, no change.
bblzd said:
Once or twice Search would keep my phone awake and drain the battery. Something to do with toggling some Location settings on or off.
Force stopping the application fixed the issue for me each time once I noticed it on my battery list.
Click to expand...
Click to collapse
My issue is that I shouldn't have to force stop it. Why is it running wild? This is a Google application, shouldn't this be near flawless?
Sent from my Nexus 5 using XDA Premium 4 mobile app

new ion? said:
This was the first thing i thought of. I turned it off, no change.
My issue is that I shouldn't have to force stop it. Why is it running wild? This is a Google application, shouldn't this be near flawless?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I just know it's a pretty easy fix (force stop or reboot) so not a huge deal IMO.
If I had to guess Search is trying to look up some location information which it can't currently access. Instead of stopping it just keeps trying forever. I've yet to see the issue since disabling Locations completely and experienced the issue only with partial location services enabled.
My advice would be to leave Location services completely on or completely off. It may effect those with locations on, but either reporting or history (or both) off.
Sent from my Nexus 5 using Tapatalk

Oooo, apparently I had history on and reporting off. I'll try turning both off and letting search run for a bit tomorrow, I'll see what happens. If it comes down to it, I'll submit a bug report.
Sent from my Nexus 5 using Tapatalk

shouldn't be an issue
I have been having the same identical issue as you guys. I have found shockingly little in my searches, which I've been doing periodically for the last few months, really, since I've had the phone(12/5/13).
Now for the particulars :
I have a nexus 5. I'm running the stock ROM and kernel via OTA (4.4.2).
I am rooted (via wugfresh's toolkit) and I have the xposed framework installed along with only a couple of modules, (gravitybox, bootmanager).
Now all this means I am essentially bone stock which means since its a nexus 5 I have the GEL launcher by default and I love it and the setup in general, (my favorite setup so far of all my phones, nexi and other).
Now I've been fortunate and have never really needed to track down and eliminate software causing battery decimating "wakelocks" on any of my devices. And apparently the newer versions of KitKat make finding and solving wake lock issues difficult using apps developed for the purpose.
If I were to upload screenshots of my battery screen when the issue is presenting itself, Google search is up in the top five at least. And when I click it for details it shows similar readouts to what's been posted by OP in his screenshots.
I can't be the only one having serious issues with wakelocks cause by Google search on their nexus 5 and I'm baffled by the lack of discussion I've been able to find regarding this issue, (my google-fu is in my opinion at least up to par)
Whenever I notice my battery draining faster than normal without fail I go into my battery settings and discover that my phone is awake constantly regardless of screen-on time and the culprit is always exclusively Google search. Now its far from difficult to force stop the app and go about my business. And it usually doesn't cause me any issues for a time once that's been done. However, the unpredictability of the Google search app causing a crippling wake lock is for me the main issue as it means I cannot leave my phone unattended for more than a few hours without the possibility of coming back to my phone with my battery that's been molested. The battery in my opinion is more than acceptable and I quite like it. However the uncertainty is horrible.
I've read through the posts In this thread (regrettably few) and I have not been able to make a correlation between location services being on in any of the three modes and Google search wakelocking my ****. Also, I use Google Now all the time every day, and hotword detection is always on to call it up from the home screen by voice which i use even more so. So in my opinion while it is possible I'm sure that somewhere in all that there is a trigger for the issue, it is by no means predictable and in my experience never reproducible.
Now, for the "Google Search" app to cause a wake lock that will persist until the apps been manually force stopped, completely unpredictably represents a HUGE BUG that un-does all of the amazing work with our chipset and kernel and os that gives us such great battery life without having to sacrifice clock speed via custom min/max settings or governor controls.
I just don't get it. This is the first time I've ever encountered such a glaring problem/bug with so little complaint or even discussion.
I think we all should submit official bug- reports to Google about this issue and start being vocal in all of the android communities. I very very rarely comment or post as I am always able to make do by searching and reading diligently. But this blows my mind, the lack of posts and discussion would normally suggest this is a very limited problem affecting a very small minority. But I don't buy that. My set up is too stock, too close to the largest percentage of nexus 5 users to be so. Maybe people are just force stopping the app and forgetting about it, chalking it up to something they've personally done to their phone because "how could Google search be doing this to everyone else". I don't know. But this has to be more widespread of an issue than search results are indicating.
In summation: what OP said lol. But I don't think it has anything to do with what's been suggested by other posters on this thread. Their suggestions may work, and they may mitigate the issue. But if that is the case. Than this a very huge bug that threatens to undo all of the amazing work that's been done with aosp regarding battery efficiency and optimization.
- FerrousState
PS. Let's get some real discussion going in this community and all the others. Smarter people than us should be working on this - Top men guys, TOP MEN!

Hey guys I have this problem as well. I can't view the pics in OP but Google search is running at about 14%
Sent from my Nexus 5 using xda app-developers app

Brockg said:
Hey guys I have this problem as well. I can't view the pics in OP but Google search is running at about 14%
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Tap Google search in your battery and check how long it's kept your phone awake. Then back, and check again. If the seconds just got higher it's currently eating your battery and needs to be force stopped.
Any suggestions are just to mitigate the problem for now of course. Hopefully it's being worked on.
I've yet to see the issue again but I have Locations and Hot Word off, Google Now on. I strongly believe using either "device only" or turning off the 2 settings within Locations can act as a temporary fix however.

Related

Facebook eating a lot of battery

I've never had Facebook eat this much of my battery before, but whenever its background services (MediaUpload service I think is the name), my battery drains at least 1% per minute.
I've tried force closing every time I quit the app, I've tried getting rid of its background data completely. I've tried disabling notifications. I don't sync at all. But the damn app still pops up every now and then and eats my battery while it does NOTHING.
This is an issue that I've found on the Nexus S. I've had a Galaxy S and Optimus One before and I've never encountered such an issue. I'm on Air Kernel 4.2 and AOKP milestone 5, but this problem also occurred on other ROMs and kernels.
Does anyone else have a similar issue and is there a way to fix it (outside of deleting Facebook or freezing it)?
chw2006 said:
I've never had Facebook eat this much of my battery before, but whenever its background services (MediaUpload service I think is the name), my battery drains at least 1% per minute.
I've tried force closing every time I quit the app, I've tried getting rid of its background data completely. I've tried disabling notifications. I don't sync at all. But the damn app still pops up every now and then and eats my battery while it does NOTHING.
This is an issue that I've found on the Nexus S. I've had a Galaxy S and Optimus One before and I've never encountered such an issue. I'm on Air Kernel 4.2 and AOKP milestone 5, but this problem also occurred on other ROMs and kernels.
Does anyone else have a similar issue and is there a way to fix it (outside of deleting Facebook or freezing it)?
Click to expand...
Click to collapse
yea, it started after a recent update. i had to uninstall it from my nexus s and galaxy nexus because it was annoying the heck out of me. i wasnt using it but it was still eating 8-12% of my battery.
Uninstall it and wait for the next update maybe then it doesnt use so much battery anymore.
You might want to try Friend caster or Fast for Facebook
Sent from my HTC PH39100 using XDA
The Facebook app for android is worthless. Much better to just use the browser instead.
I wonder why they still haven't managed to create a decent app.
I have seen this reported often recently and not sure of the cause. My battery life has not been effected at all by the newer versions.
Maybe its something to do with roms that include the hack to sync fb. The new apps changed something related to that.
This usage is from today. Was outside with screen on full brightness ( extremely sunny and crisp today in NY) and used GPS with fb. When I dont use the app doesnt use any battery. No waking the device etc aokp m5 with trinity

Keep Awake - Google Search

My n5 seems to have the GoogleSearch keep awake for 20hours+. is it normal? being in EST, I was not using device for atleast 10 hours from 10pm yesterday until now.
Attached screenshot. Any one else facing same issue?
real painful bug. I've gotten it once on my n5, twice on my n7 v2, once on my n7 v1 and twice on my n4. ONly my n5 and n7 v2 are on kit kat. the other 2 are on 4.3. Just no rhyme or reason thus far as to why it happens but BBS says it's cacheupdate service or entries refresh wake lock. Only thing to stop it is to restart the device. At first i thought it was a kitkat thing but it's rearing it's ugly head on my n4 and n7 v1.
ive been having the same issue. a temporary fix on my n5 was to force stop google search, but it would inevitably return 3-4 hours later. putting it in airplane mode solved the issue...but obviously i couldn't always keep my n5 in airplane mode.
i literally just reset my phone to see if that helps solve the wake issue with google search. i even tried contacting google nexus support, but they haven't been much help at this time. ill let you know if factory resetting my device has helped at all
So, I am not alone with this problem. Its occurred a couple of days ago, went away, and came back.
monilchheda said:
So, I am not alone with this problem. Its occurred a couple of days ago, went away, and came back.
Click to expand...
Click to collapse
No u r not alone. I have it every now and then. I installed Cpu spy so I can see if my phone is sleeping or not. If I have the wake lock it stays on 300mhz when screen is off when it should be sleeping.
Sent from my SPH-L900 using xda premium
Stock krt16s on nexus 4. The problem started with the official factory image (didn't had it with slimkat) and since my device never slept again.... Heeelp
Envoyé de mon Nexus 4 en utilisant Tapatalk
The only consistent way i've seen to clear the entries refresh wakelock is to uninstall the updates from within the Google Search App.
This completely clears the issue rather than a restart which works temporarily so Google has messed up with the last Google Search update (the one that brings extra funcionality to Google Now.
I had the same problem, turned off location reporting in Google Settings and it's gone..
V.Dragos said:
I had the same problem, turned off location reporting in Google Settings and it's gone..
Click to expand...
Click to collapse
Turning off location reporting never cleared it for me i still needed to uninstall the latest search update.
I had the same issue, so disabling Google now (opening Google now, settings, toggle it off) has stopped this wakelock for me!
Sucks a bit to turn it off, but I'd rather not have the wakelock than have good now info, I'll just wait for an update/fix.
YoHoJo said:
I had the same issue, so disabling Google now (opening Google now, settings, toggle it off) has stopped this wakelock for me!
Sucks a bit to turn it off, but I'd rather not have the wakelock than have good now info, I'll just wait for an update/fix.
Click to expand...
Click to collapse
this just happened to me, out of no where. kept my device awake the whole time i was in the shower. i will be testing by disabling google now. i agree, it just isn't worth it to deal with these bugs, i can get weather notifications elsewhere
Just got my N5 yesterday and this is going on, Google search using 45% of my battery by the end of the day. Will try turning it off :-/
Sent from my Nexus 5 using Tapatalk
same here
I too have the same problem and only restarting the phone fixes it and it just happened to me again an hour back.
I have noticed that sometimes when I remove the charger from the socket after the full charge, the problem comes only after that time....so after charging the phone almost every time I check my battery stats for few seconds and if it persist then I restart the phone and yea it get solved but a temporary solution and its really annoying .......hope google fixes it soon
http://forum.xda-developers.com/showthread.php?p=49389752#post49389752

Testing Nexus 5 memory?

Is there a tool or way to test the Nexus 5 sdcard memory?
For the last six months I've had problems with my rooted Nexus 5 (stock kitkat) suddenly running very slow. After a lot of time trying to figure out why, I determined the following.
1. Slowdown happens when an app is writing something to the sdcard.
2. Is not a particular app. Can be any app.
3. When it happens all 4 CPU cores are running close to full blast.
4. Battery usage shows "android os" is 50% of the usage.
5. Task killers do not solve the problem.
6. Reboot restores things to normal for a while.
So I now wonder if there's something wrong with the built in memory but don't know how to test it.
Is there a way to test the Nexus 5 message? It is very frustrating to talk 2-3 pictures and then have the 4th one make everything grind to a stop. Right now, typing this is a pain because every letter takes its time to appear. I know rebooting will solve it but I should not have to.
sounds like you get a process(es) that get "stuck". also, when this happens, have you ever checked if your google stuff is syncing or " stuck"? sometimes badly written apps can cause this to happen as well.
simms22 said:
sounds like you get a process(es) that get "stuck". also, when this happens, have you ever checked if your google stuff is syncing or " stuck"? sometimes badly written apps can cause this to happen as well.
Click to expand...
Click to collapse
I think you are right but I don't know how to find the faulty process. I "think" I first noticed it after the google camera update, but I used settings /apps/ to uninstall the camera update without improvement. I think camera showed the problem because it has to save the image to memory sdcard.
I don't sync and have sync turned off everywhere and on all apps. Sometimes Google play shows up as the prominent battery user even though I don't have it update apps automatically. But it is primarily android os that is the bad guy.
One of the things I had tried when the problem first started was to restore an earlier nandroid backup, but the problem continued, so I restored the most recent nandroid I had done before the earlier restore.
Recent screenshot.
I was on the browser and Tapatalk for a while. But not on play store.
Not frozen now when taking this screenshot.
You need to get gsam, or BBS or wakelock detector and see what one of those says. The stock battery screen is pretty much useless to find a battery problem.
But I'm guessing all your issues are tired to one bad app as said above.
Get a battery app I suggested, run a full charge down with it running.... And comb thru all of it and see if anything pops out.
kj2112 said:
You need to get gsam, or BBS or wakelock detector and see what one of those says. The stock battery screen is pretty much useless to find a battery problem.
But I'm guessing all your issues are tired to one bad app as said above.
Get a battery app I suggested, run a full charge down with it running.... And comb thru all of it and see if anything pops out.
Click to expand...
Click to collapse
I already did that. I have gsam and wakelock detector installed but my knowledge of Android is very limited and they have not helped me so far except to confirm I have a problem. I wonder if there is a way to see the dates I installed various apps. That way I could uninstall in the order they were installed.
Here are various screenshots. The list of active processes goes down several pages.
My guess... It's an app that hadn't been updated since kit kat has been out, and it's spamming location services.
Just a guess.
Check in gsam for times waking device, held awake time and kernel wakelock. (You need gsam root companion from play store installed as well.). These are all found in gsam app screen by clicking the drop down at the top. See if anything looks bad on any of those.
---------- Post added at 05:18 PM ---------- Previous post was at 05:17 PM ----------
Oh, and obviously, whatever tick tick is, is killing your battery. If it accesses location.... that's my bet for the culprit.
Thank you all for the advice. Obviously I've tried various things. TickTick is a todo list app. Quite nice actually. Anyway I had suspected it might be a problem and have uninstalled it (several times) with no improvement.
Finally, I seem to be making some headway. Don't know which of these two did it (if the improvement lasts.....).
1. There were 3-4 apps I had avoided updating because I didn't like the updated versions (maps, Hangouts which I don't use, Firefox, etc). So I now gave up and clicked on "update all".
2. I disabled the module gravitybox and rebooted.
So far things have returned to normal. My CPU cores are back to low levels.
I'm keeping my fingers crossed. If things continue well after a while I will reactivate gravitybox. I'm holding my breath!
After a full 15 minutes of normal behavior (unbelievable!), I took my courage in hand, reactivated gravitybox. Used my usual apps without the previous freezing recurring (so far). If this continues - and it seems to - it might suggest you don't update GAPPS (I think it was Hangouts) only at your peril.
Such a difference having an uncrippled phone!
After a while the slowdowns returned. Any suggestions?

[Q] android lollipop keeps killing apps

Every test build, including the final release of lollipop had plagued me with a bug where it continuously oom kills apps, including the bluetooth service, music running in the nackground, navigation while im driving, or even my keyboard while im typing. It doesnt matter if its a background process or in the foreground, it will get killed eventually without any force prompt. I've tried lowering my oom values in 3c toolbox but that hasn't done anything. Anyone else having this problem or have a solution?
Well, I know that feel bro. LOL.
Check my post here for my experience.
b00bs said:
Well, I know that feel bro. LOL.
Check my post here for my experience.
Click to expand...
Click to collapse
I'm getting the exact same issue here. after using it for awhile (about 40 hours), i was getting launcher redraws constantly. I checked memory usage and system was hogging somewhere between 800MB to 1GB. I was reading on a reddit forum that this is due to a memory leak and that it could be a google play services issue and not a lollipop issue? I'm not a developer so really no basis for comment, but i feel you in that the phone definitely does start to get laggy. I'm really hoping google will address this, but in the meantime the fix has been to reboot.
I have the same problem. N5 is almost unusable on Lollipop. I will admit I have a lot of apps but not that many that are always running in the background.
The big annoyances are what OP said: Navigation getting cut off in the background, Music getting killed. I've noticed these two problems being more prominent when BlueTooth is turned on/connected.
makapav said:
I have the same problem. N5 is almost unusable on Lollipop. I will admit I have a lot of apps but not that many that are always running in the background.
The big annoyances are what OP said: Navigation getting cut off in the background, Music getting killed. I've noticed these two problems being more prominent when BlueTooth is turned on/connected.
Click to expand...
Click to collapse
Seriously, music getting killed with device like Nexus 5 is blow my mind.
Yup. Had Power Amp get killed today. Literally the first time I have EVER seen Power Amp killed. Thanks Lolliflop!
Yeah, this is extremely annoying! Have to restart the phone every 12-24h if I want some decent multitasking!
Please star this issue:
https://code.google.com/p/android/issues/detail?id=79729
My Nexus 5 has now become unusable. I can't figure out if it's because of encryption or just shiate multitasking in Lollipop.
<rant> Screw you Google for not having developers that actually use beyond 10 standard apps on their phones in your test group. </rant>
This has nothing to do with encryption .. I don't use this this feature.

Nouget BETA users...list your issues here

I seen threads about thoughts of the update but I figured this thread to be more specific on the issues your experience on nought beta: bugs, freezes, force closes, lag, etc.
Posting issues or suggestions here will be useless to the Samsung team. To give feedback on the beta, just open the "Samsung Members" app and provide your feedback there. This way the team can actually address it.
Aside from standby battery drain, it's been pretty smooth.
Oh, the keypad sometimes can't keep up with my typing lol. That's about it.
Sent from my SM-G935T using Tapatalk
I am still getting the sound cutting out bug that was seen in Marshmallow.... ie; sound on YouTube videos, etc will play for a few seconds and then cut out to silence. Have tried all the "solutions" offered but it still happens.
*Very frustrating.
I have the battery drain problem too.
Sent from my SM-G935T using Tapatalk
I've reported this to Samsung member but in camera when you look at the last pic you took it shows last image of what you downloaded or received also. If you downloaded something after to took your last picture that is. Only pictures taken with the camera should be in here. Note 7 had this same issue.
Sent from my SM-N9200 using Tapatalk
That is strange. Battery life on mine has been the best i have ever gotten with this phone.
Probably poor battery other than that running great
M9x3mos said:
That is strange. Battery life on mine has been the best i have ever gotten with this phone.
Click to expand...
Click to collapse
Did you factory reset after the install?
Encrypted SD keeps popping up.
The "Clear All" button in recents is in a bad location (top right, better at bottom right)
Noticed that double tap AOD screen can wake the screen but only if you Dtap the notification or music playing. Suggested that we get full double tap anywhere to wake option.
Default e-mail does not have marked as read or delete options in notification bar.
Battery drain faster.
It may just be me but My Knox seems broken. I changed password and everything but on last attempt before lockdown but does not work.
All reported to Sammy except my Knox which may be a user error
I've had GREAT battery life, no drain.
Only issue is when I download an APK through Chrome and tap the notification to install then Package Disabler crashes. If I install it with Root Explorer it installs fine.
Android System battery hogging. Whopping 40%!
I average 8% an hour and have an average 5hr screen on time per charge cycle I think a lot of people some have some rogue apps
Battery life is much better! The main issue I'm having is no sound or vibration notification when I get a text. Sometimes I loose my data connection.
Looks like google voice doesn't work with the update. How do I report this ? I can't get any outgoing call to work through google voice
Sent from my SM-G935T using Tapatalk
Network mode 3g only.....
Then it should be 3g....
But it is connecting as 4g.....
I'm now getting a Wi-Fi connection problem. Just disconnects and reconnects. Kind of annoying
Sent from my SM-G935T using Tapatalk
Z51 said:
I'm now getting a Wi-Fi connection problem. Just disconnects and reconnects. Kind of annoying
Click to expand...
Click to collapse
Go into the settings with for it to turn off, then manually turn it on. Also I recommend leaving it on as well as Bluetooth. There is a known bug with both of those and leaving them both on fixes the battery drain issue you will have if you try to turn them off and they keep automatically turning on/off on their own.
ShrekOpher said:
Go into the settings with for it to turn off, then manually turn it on. Also I recommend leaving it on as well as Bluetooth. There is a known bug with both of those and leaving them both on fixes the battery drain issue you will have if you try to turn them off and they keep automatically turning on/off on their own.
Click to expand...
Click to collapse
my battery drain issue seems to be gone.
I will however turn on the bluetooth to see if it helps/.
Haven't seen this posted, hopefully i didn't miss the post though.
When playing a game using the "Game Launcher", I always played with "No Alerts during Game" selected. But since I upgraded to the Nougat Beta, Facebook Messenger somehow still sends me messages even though it should be blocked.
Anyone else with this issue?

Categories

Resources