Excessive battery drain from Google play services - Nexus 5 Q&A, Help & Troubleshooting

I am running stock 4.4.2 rooted with xposed installed. The title pretty much explains it as well as the picture. I have a lot of apps greenified and have location set to battery saving and have rebooted several times but still get terrible battery drain from Google services
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
I am running stock 4.4.2 rooted with xposed installed. The title pretty much explains it as well as the picture. I have a lot of apps greenified and have location set to battery saving and have rebooted several times but still get terrible battery drain from Google services
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
first off, it being your first post, ill be nice. questions/help/troubleshooting does not go in general, it goes in the q&a/help/troubleshooting section. secondly, you should have searched xda before posting another thread, as we already have many threads about this. here is one that we have been using mainly, for this issue http://forum.xda-developers.com/google-nexus-5/help/normal-google-play-services-to-drain-20-t2519831

Sorry man just trying to solve this issue asap. You people should try not to be so stuck up to the newbies. I see it everywhere on this site
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
Sorry man just trying to solve this issue asap. You people should try not to be so stuck up to the newbies. I see it everywhere on this site
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
lol, i was even being nice! didnt say anything that would be considered mean or nasty, or just not nice. i know that youre new, and just trying to solve an issue, and i pointed you towards help. i was just explaining to you about how to post correctly. but we do have our own rules here, which everyone is expected to read and follow, even noobs.

Sorry won't happen again! I went to the thread you directed me to and disabled all the location ones in Google play services using "disable services" and it didn't work for me. Thanks for your help! I'll send a few thanks your way for the misunderstanding
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
Sorry won't happen again! I went to the thread you directed me to and disabled all the location ones in Google play services using "disable services" and it didn't work for me. Thanks for your help! I'll send a few thanks your way for the misunderstanding
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if you disabled those that are shown in a screenshot, did you reboot first? if not, try again. then let the phone sit there for like 10 minutes, then check.
btw, i do agree with you about some of the meanness that goes on in xda. im not like that, i enjoy helping people too much. and the nexus 5 forums here also, it isnt as bad like the rest of xda. there are many here like me, that actually keep an eye on the forums, to make sure that meanness doesnt go on

Disable them all. Reboot. Then charge the phone fully so battery stats reset
Sent from my Nexus 5 using Tapatalk

Ben36 said:
Disable them all. Reboot. Then charge the phone fully so battery stats reset
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
dont disable them all.
im sure that he wants a phone that will function like it should, not one thats fully disabled.

simms22 said:
dont disable them all.
im sure that he wants a phone that will function like it should, not one thats fully disabled.
Click to expand...
Click to collapse
I would like my phone to function like it should yes lol. I tried to reboot after disabling the ones with location and rebooted and waiting 10 minutes but Google play services time awake is still rising and has been awake for pretty much the whole batter cycle. Could greenify be causing such issues?
Sent from my Nexus 7 using XDA Premium 4 mobile app

trich_28 said:
I would like my phone to function like it should yes lol. I tried to reboot after disabling the ones with location and rebooted and waiting 10 minutes but Google play services time awake is still rising and has been awake for pretty much the whole batter cycle. Could greenify be causing such issues?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
no, greenify is innocent. if you got all the location, i wonder what else it could be..
would you post this screen from your default battery stats please..

Here ya go
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
Here ya go
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thanks. yea, you definitely have something preventing your phone from syncing. check your google sync in main phone settings, check if any of the stuff that you normally sync isnt stuck syncing(either continuous spinning or stopped spinning). alsi, would you post the battery stats page with your apps % battery use.

I checked and it is not stuck syncing :/
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
I checked and it is not stuck syncing :/
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
were you listening to music for a while with the screen off?

simms22 said:
were you listening to music for a while with the screen off?
Click to expand...
Click to collapse
Ya I listen to a lot of music with the screen turned off. Could that really cause this?
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
Ya I listen to a lot of music with the screen turned off. Could that really cause this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
well.. its probably what actually is keeping your phone awake. dont listen to any music for a while then post the history detail screenshot again.

simms22 said:
well.. its probably what actually is keeping your phone awake. dont listen to any music for a while then post the history detail screenshot again.
Click to expand...
Click to collapse
Well I really like to listen to music lol but anyways play music is greenified every time after I use it
Sent from my Nexus 5 using XDA Premium 4 mobile app

trich_28 said:
Well I really like to listen to music lol but anyways play music is greenified every time after I use it
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
maybe so, but at least i will be able to see how your phone actually sleeps, if it does or not, and how much it gets woken

simms22 said:
maybe so, but at least i will be able to see how your phone actually sleeps, if it does or not, and how much it gets woken
Click to expand...
Click to collapse
I got this from wake lock detector. I hope it helps. Its Google services
Sent from my Nexus 5 using XDA Premium 4 mobile app

Could it not be your Google play music using Google services? Just a suggestion
Sent from my GT-I9300 using Tapatalk

Related

Weird android system thing wasting battery?

So I never did anything and all the sudden this is wasting over half of my battery.. Any ideas how to stop it?
Sent from my Nexus 5 using xda app-developers app
rmhumtex97 said:
So I never did anything and all the sudden this is wasting over half of my battery.. Any ideas how to stop it?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
This seems to be the the Camera, did you recently install any Camera/Video/Scanner/QRreader/Torch/ect. applications?
DerItaliener said:
This seems to be the the Camera, did you recently install any Camera/Video/Scanner/QRreader/Torch/ect. applications?
Click to expand...
Click to collapse
Nope. I just use stock camera and everything
Sent from my Nexus 5 using xda app-developers app
rmhumtex97 said:
Nope. I just use stock camera and everything
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Well, if you actually used it, it's quite normal that it has a high amount of energy consumption. The Camera Hardware is engery hungry.
If not, and a reboot doesn't fix it, I'm alredy running out of ideas. Maybe some additional informations (e.g. Better Battery Stats) can help to identify the problem
Have you searched? A Google search brings up apps like reality piano, airdroid and a yahoo messenger being culprits. Any of those?
Sent from my Nexus 5 using xda app-developers app
its the camera daemon. if you started the cam, and exited it, but didnt close/kill it, it temains running under some circumstances. either "kill" the camera or just reboot to fix it.

FaceBook app on Nexus 5

Has any ever tried to edit a comment on the facebook app? No matter what ROM I'm running it just won't allow it. I have to do it from the browser.
Sent from my Nexus 5 using XDA Premium 4 mobile app
It works on mine
Sent from my Nexus 5 using Tapatalk
It works like champ.
Sent from my Nexus 5 using Tapatalk
Hmm I guess its a defect on my phone then
what version of the fb app are you running?
I have the exact same thing. Maybe its just bad luck.
Sent from my Nexus 5 using xda app-developers app
Long-press on the comment. There is no visual, audible, or haptic feedback but it will open a context menu letting you delete or edit it.
Sent from my Nexus 5 using XDA Premium 4 mobile app
mackentosh said:
Hmm I guess its a defect on my phone then
Click to expand...
Click to collapse
That it is definitely not. Any errors will be due to the Facebook app.
It doesn't happen all the time but yeah in Facebook when I focus a comment field sometimes the keyboard appears and then immediately disappears. Another major gripe I have with Facebook on this phone is that the graphic assets seem to be made for a lower res than this phone and so aren't as crisp as they should be. Especially the app icon in GEL. [/OT]
wake lock on Facebook is not good.
Sent from my Nexus 5 using Tapatalk
mortenmhp said:
That it is definitely not. Any errors will be due to the Facebook app.
Click to expand...
Click to collapse
Yea the Facebook app is awful. I think they'd be better off just asking someone on xda to develop it for them
Sent from my Nexus 5 using Tapatalk
FB app is a hog. I've had to tweak it to disable a couple of the services and also the startups so it doesn't kill battery. So far it does pretty good. I use Xposed and use BootManager to have it not load on startup, as well as ReceiverStop and kill a couple Receivers (appwidget_update and connectivity_change) so it just kills background stuff, not the actual app functions.
MrObvious said:
FB app is a hog. I've had to tweak it to disable a couple of the services and also the startups so it doesn't kill battery. So far it does pretty good. I use Xposed and use BootManager to have it not load on startup, as well as ReceiverStop and kill a couple Receivers (appwidget_update and connectivity_change) so it just kills background stuff, not the actual app functions.
Click to expand...
Click to collapse
My facebook app doesnt drain at all weirdly, I set it to refresh every hour, notifications and messages always on, and sync turned off. Often appearing as the last or second last app on my battery stats at the end of the say with about 3% total usage, and yes I do use it, alot!
Sent from my GT-P5110 using xda app-developers app

Random Reboots and battery drops

What's the best way to diagnose something like this? It happens randomly and I'm not sure what's causing it. I'm stock rooted.
Better battery stats
Sent from my Nexus 5 using Tapatalk
yahoowizard said:
What's the best way to diagnose something like this? It happens randomly and I'm not sure what's causing it. I'm stock rooted.
Click to expand...
Click to collapse
Your wakelocks or horrible. You need BBS as stated, but the instant drop is indicative of a bug in the stock rom or kernel. If it keeps doing that after the wakelock issues are resolved, you may need to flash another rom.
yahoowizard said:
What's the best way to diagnose something like this? It happens randomly and I'm not sure what's causing it. I'm stock rooted.
Click to expand...
Click to collapse
Wakelock Detector is easier to understand tha BBS
[https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
Does this pretty much mean Google search is messing me up?
Sent from my Nexus 5 using xda app-developers app
I think Google search incorporates Google Now which yes, mega battery drain in my opinion especially if it is polling for location constantly.
edit: that looks like my battery stats when I don't try to conserve energy and have heavy usage.
mistahseller said:
I think Google search incorporates Google Now which yes, mega battery drain in my opinion especially if it is polling for location constantly.
edit: that looks like my battery stats when I don't try to conserve energy and have heavy usage.
Click to expand...
Click to collapse
So how do I fix this? Turn off location would somewhat render Google Now to be useless, as does turning it off.
yahoowizard said:
So how do I fix this? Turn off location would somewhat render Google Now to be useless, as does turning it off.
Click to expand...
Click to collapse
disable google location reporting/history. itvwont really affect google now.
Disabile sincro
If you're getting reboots, grab /proc/last_kmsg the next time it's on. The last few lines should give you some hints as to why it rebooted.
Sent from my Nexus 7 using Tapatalk
Kk thanks a lot guys, I think the battery issue overall might have been Google search so now I'm going to try to fix it. If my phone reboots again I'll check the file to see the logs.
Sent from my Nexus 5 using xda app-developers app
korockinout13 said:
If you're getting reboots, grab /proc/last_kmsg the next time it's on. The last few lines should give you some hints as to why it rebooted.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
I couldn't find this file actually. Any else to do next time my phone is rebooted?
yahoowizard said:
I couldn't find this file actually. Any else to do next time my phone is rebooted?
Click to expand...
Click to collapse
Its under root>proc>last_kmsg and not in sdcard
varuntis1993 said:
Its under root>proc>last_kmsg and not in sdcard
Click to expand...
Click to collapse
Sent from my Nexus 5 using xda app-developers app
yahoowizard said:
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I don't know what to say now...lol
Btw What sorting is that?
I can just say flash back the system and the kernel files.
yahoowizard said:
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Reverse alphabetical lol. It asks me ascending or descending and I mix it up every time.
Sent from my Nexus 5 using xda app-developers app
I have my location on battery saving and Google now on and I get no extra battery usage than what I normally would.
Sent from my Nexus 5 using xda app-developers app

Killing apps is it worth it??

I have a bad habit of frequently clearing all apps from my recents
I somewhere read that it's not good (can't remember where)
So is it worth killing apps frequently ?? Does this effect battery life too??
Sent from my Nexus 5 using XDA Premium 4 mobile app
Hi,
I would say you "kill" multitasking...
...which is actually not good, because opening an app that is already in the phones RAM loads much faster plus it doesn't consume that much battery juice
Just leave em. Don't be obsessed with closing stuff all the time
Sent from my Nexus 5 using Tapatalk
Apps running in your multi tasking window still drain some battery. Even Google suggests closing them if you're not using them, to extend battery life.
Launching apps doesn't doesn't spike my current widget readings so I don't think much battery is used there. I've noticed rebooting the phone does cause huge spikes though so try and only do that while plugged in.
Sent from my Nexus 5 using Tapatalk
sohail77 said:
I have a bad habit of frequently clearing all apps from my recents
I somewhere read that it's not good (can't remember where)
So is it worth killing apps frequently ?? Does this effect battery life too??
Click to expand...
Click to collapse
This topic has been debated again and again. It makes no tangible difference in battery life. If you want to swipe your apps, go ahead and swipe them. You will never see a difference in battery. And that's because there isn't one.
I notice that if I don't reboot my N5 for a long time, my available RAM goes down to <150mb regardless of what I close. Does it sound like I have a bad app?
Sent from my Nexus 5 using XDA Premium 4 mobile app
no point. the device is more than capable of handling multiple apps open in the background.
inconceeeivable said:
I notice that if I don't reboot my N5 for a long time, my available RAM goes down to <150mb regardless of what I close. Does it sound like I have a bad app?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Or a bad kernel
Sent from my Nexus 5 using Tapatalk
inconceeeivable said:
I notice that if I don't reboot my N5 for a long time, my available RAM goes down to <150mb regardless of what I close. Does it sound like I have a bad app?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Doesn't happen with me
Sent from my Nexus 5 using XDA Premium 4 mobile app
Usually its best to just keep pressing the back button repeatedly to exit an app and let it be in the recents. I read that just swiping the app off the Recent doesn't completely exit the app and there's still some background process that will be running for some time.
Read this article http://www.howtogeek.com/169549/wha...ipe-an-android-app-from-the-recent-apps-list/
Sent from my Nexus 5 using Tapatalk
greenify em
Ben36 said:
Or a bad kernel
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Running pure stock. Haven't flashed a thing.
Sent from my Nexus 5 using XDA Premium 4 mobile app
What works best for me is leaving all the apps that I'll be using more than 2/3 times during the day and closing all others.

Nexus 5 battery and settings messed up

OK over that past few days my battery rarely last a few days. Here is my nexus battery stats. Its states my screen has been on for 1m when I have had it on for about 20mins. Also battery drops by the second. Please help. I then tried to charge the charging icon came on but it didn't charge. Left it plugged in for 30mins. Any suggestions?
Regards
Sent from my Nexus 5 using XDA Premium 4 mobile app
I have also tried rebooting but when I go the the battery settings everything is the same. Nothing has reset? Pls help battery going by the minute and seconds
Hi,
Are you ysing a custom rom/kernel? Go back to fully stock and see if it happens or not...
No I am not. Just rooted and full stock ROM nothing else.
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
No I am not. Just rooted and full stock ROM nothing else.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, does it charge while you have connected it to a Wall(AC) charger? Does the Battery indicate that it's charging??
Yes it does indicate. But the percentage did not move. This happened yesterday as well so I drained it then charged fine as normal. Any advice.
Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
vin4yak said:
Well, does it charge while you have connected it to a Wall(AC) charger? Does the Battery indicate that it's charging??
Click to expand...
Click to collapse
Yes it does. Now what?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes it does indicate. But the percentage did not move. This happened yesterday as well so I drained it then charged fine as normal. Any advice.
Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No clue m8.. It's surely weird. You could try to flash factory images and see whether it fixes or not... Follow this : http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Wait for a while and see whether someone else comes up with a solution.. If not, follow the above thread..
---------- Post added at 10:17 PM ---------- Previous post was at 10:15 PM ----------
dec1153 said:
Yes it does. Now what?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So it indicates that it's charging but the percentage doesn't go up.. that's what you're saying, right?
Try a different wall charger or try charging it via a computer/laptop and see if it charges? May be a faulty charger?
Yes I'll do what I did yesterday. I'll keep u updated, thanks for the help so far though,much appreciated!!! I currently have 53% for 45mine screen on. I might try a battery calibration app too because I am rooted....
dec1153 said:
Yes I'll do what I did yesterday. I'll keep u updated, thanks for the help so far though,much appreciated!!! I currently have 53% for 45mine screen on. I might try a battery calibration app too because I am rooted....
Click to expand...
Click to collapse
Np. Always happy to help... Battery calibration apps are useless.. Here's a useful post about the same : https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
vin4yak said:
Np. Always happy to help... Battery calibration apps are useless.. Here's a useful post about the same : https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Click to expand...
Click to collapse
OK now device is charging as it should be ( I drained it to 4% which took 1hr). Plugged in as we speak. Will report tonight or tomorrow
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK now device is charging as it should be ( I drained it to 4% which took 1hr). Plugged in as we speak. Will report tonight or tomorrow
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's great news... Do keep us posted! :good:
-Flowed from an IceCold Hammerhead!
vin4yak said:
That's great news... Do keep us posted! :good:
-Flowed from an IceCold Hammerhead!
Click to expand...
Click to collapse
OK, device is working but battery drain from Google play services and android os seems sucking my juice like hell! Screen on time option has disappeared but so far battery has dropped as quickly as expected. Fingers crossed
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK, device is working but battery drain from Google play services and android os seems sucking my juice like hell! Screen on time option has disappeared but so far battery has dropped as quickly as expected. Fingers crossed
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Disable location services / Google reporting widen you're not using it...
-Flowed from an IceCold Hammerhead!
Yes I have. So far everything is back to normal but the android OS is still at the top of the battery, but battery doesn't drain like before...... Fingers crossed again!
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes I have. So far everything is back to normal but the android OS is still at the top of the battery, but battery doesn't drain like before...... Fingers crossed again!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you aren't using your phone regularly then Android OS/SystemUI/phone idle will always be at the top of the list!
Since you're rooted, install BetterBatteryStats or Wakelock Detector and see which apps are preventing your device from sleeping... Also, Install greenify and hibernate all apps except the ones which you would like to get notifications from like whatsapp...
OK thanks, will do that now. Any idea what is draining my battery ( see PIC)
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK thanks, will do that now. Any idea what is draining my battery ( see PIC)
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Seems normal... Even I have the same... You can't make out by looking at it... You need apps Like Wakelock Detector : https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
Follow these steps:
1. Open Wakelock Detector settings and put a tick on "Statistics Since unplug"
2. Charge your device for sometime.
3. As soon as you remove the device from charge, turn off the screen and don't use it for few hours.
After few hours, Turn on the screen and open wakelock detector and check "Wakeup Triggers", "Kernel Wakelock" and "CPU Wakelock" and see what's preventing the device from sleeping...
Now once you Greenify those applications, you ought to have a good battery life!
vin4yak said:
Seems normal... Even I have the same... You can't make out by looking at it... You need apps Like Wakelock Detector : https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
Follow these steps:
1. Open Wakelock Detector settings and put a tick on "Statistics Since unplug"
2. Charge your device for sometime.
3. As soon as you remove the device from charge, turn off the screen and don't use it for few hours.
After few hours, Turn on the screen and open wakelock detector and check "Wakeup Triggers", "Kernel Wakelock" and "CPU Wakelock" and see what's preventing the device from sleeping...
Now once you Greenify those applications, you ought to have a good battery life!
Click to expand...
Click to collapse
Thanks!!! How do I use greenify!!! Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Thanks!!! How do I use greenify!!! Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Here's the official thread : http://forum.xda-developers.com/showthread.php?t=2155737
Everything's explained in detail + how it works!

Categories

Resources