Help with a couple wakelocks - Nexus 5 Q&A, Help & Troubleshooting

I am not too versed with this, was hoping that someone could help. My battery life while in idle seems to be suffering quite a bit. Here are the wakelocks that I see using BBS. Any idea what I should do to help my situation?
Do folks keep Google Now off? That seems to be one of the wakelocks but not sure what the other one is.
I'm on stock 4.4.2 using Franco's kernel r24.
Thanks very much!
Sent from my Nexus 5 using XDA Premium 4 mobile app

Don't know why the second pic didn't attach, including now.
Sent from my Nexus 5 using XDA Premium 4 mobile app

neocryte said:
I am not too versed with this, was hoping that someone could help. My battery life while in idle seems to be suffering quite a bit. Here are the wakelocks that I see using BBS. Any idea what I should do to help my situation?
Click to expand...
Click to collapse
Here's a thread where people have already discussed. No real solution yet other than reboot and hope it goes away ...
http://forum.xda-developers.com/showthread.php?t=2529719

neocryte said:
I am not too versed with this, was hoping that someone could help. My battery life while in idle seems to be suffering quite a bit. Here are the wakelocks that I see using BBS. Any idea what I should do to help my situation?
Do folks keep Google Now off? That seems to be one of the wakelocks but not sure what the other one is.
I'm on stock 4.4.2 using Franco's kernel r24.
Thanks very much!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm also on stock 4.4.2 and Franco, and have the same BBS stats, but when my phone is in stand-by, it only burns 1-2%/hr. SOT, on the other hand, is 9-10%/hr. on low brightness, and can go up to 15%/hr on medium brightness.
Sent from my Nexus 5

neocryte said:
I am not too versed with this, was hoping that someone could help. My battery life while in idle seems to be suffering quite a bit. Here are the wakelocks that I see using BBS. Any idea what I should do to help my situation?
Do folks keep Google Now off? That seems to be one of the wakelocks but not sure what the other one is.
I'm on stock 4.4.2 using Franco's kernel r24.
Thanks very much!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Switch location mode to device only.
To permanently solve Google Now issues, Greenify it via Xposed. Unsure of the ramifications of this if using GEL.

Aerowinder said:
Switch location mode to device only.
To permanently solve Google Now issues, Greenify it via Xposed. Unsure of the ramifications of this if using GEL.
Click to expand...
Click to collapse
I'm not familiar with Xposed - isn't Greenify just a regular app? Thanks for the help!
Sent from my Nexus 5 using XDA Premium 4 mobile app

neocryte said:
I'm not familiar with Xposed - isn't Greenify just a regular app? Thanks for the help!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Greenify is an app on the play store, but you can't greenify system apps with it unless you get Xposed, and get the donation version of Greenify. That's how you Greenify a system app. If you don't want to go that route, you can try uninstalling Now, then grabbing it from the play store (or just move it to /data). This way Greenify will be able to control it.

Thanks mate. I gave it a try, but for some reason greenify with exposed did some weird things to my battery settings - the screen on time didn't advance (always said 2 min 32 sec), and better battery stats didn't display most of the usual stats. After I disabled Xposed and greenify, it worked fine again. Weird.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Related

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

Excessive battery drain from Google play services

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

[Q] Too much battery drain from xposed..

So I got the closed framework and downloaded gravity box, knock code, and app ops. While the phone was fully charged and on standby it turned from 100 to 75% in a couple hours on standby. And while using thenphone there was too much battery drain. Does anyone know from which this happens (I think GB) but please share.
PS. Before applying I would get 20h+ of battery on low to medium usage.
Doesn't knock code need the digitiser to be powered up even when the screen is off?
Try disabling each module one by one until they are all disabled to see what happens.
Please do not post questions in general. Post them in Q&A. You put a [Q] in your thread title so you should know where this thread belongs
rootSU said:
Doesn't knock code need the digitiser to be powered up even when the screen is off?
Try disabling each module one by one until they are all disabled to see what happens.
Please do not post questions in general. Post them in Q&A. You put a [Q] in your thread title so you should know where this thread belongs
Click to expand...
Click to collapse
Ya now I disabled them all and please move the thread it should be in Q&A
Sent from my Nexus 5 using XDA Free mobile app
The Knock Code drains your battery. It requires the digitizer to be constantly on, thus the drain.
Ubichinon said:
The Knock Code drains your battery. It requires the digitizer to be constantly on, thus the drain.
Click to expand...
Click to collapse
But why? It only works when u turn on the screen.. also I turned them all of and still had some drain so I'm thinking bit was the wallpaper..
Sent from my Nexus 5 using XDA Free mobile app
Ubichinon said:
The Knock Code drains your battery. It requires the digitizer to be constantly on, thus the drain.
Click to expand...
Click to collapse
rootSU said:
Doesn't knock code need the digitiser to be powered up even when the screen is off?
Click to expand...
Click to collapse
The knock code module just replaces the pattern lock. It doesn't keep the digitizer on like the LG G3. Doesn't work when the screen is off.
Sent from my Nexus 5
Battery drain rates are very dependent on usage patterns and sometimes the most insignificant settings changes can lead to well hidden sources of current consumption.
So my advise is to try to remember if you made any changes in your applications or usage patterns right before or after starting to use Xposed, as your answer my lie there.
Also try to identify if the high drain occurs from Xposed itself or one of the modules, by deactivating and/or uninstalling modules and Xposed. Please be very careful that usage patterns might easily tip your conclusions off.
To somehow prove what I'm saying here, I've noticed that on a high usage day, my N5 can last as low as only 8-10 hours on a charge, while on a low usage day, after 12 hours since unplugging, it still has at least 80% of the original charge.
Have a nice day!
Lethargy said:
The knock code module just replaces the pattern lock. It doesn't keep the digitizer on like the LG G3. Doesn't work when the screen is off.
Sent from my Nexus 5
Click to expand...
Click to collapse
Exactly
Sent from my Nexus 5 using XDA Free mobile app
Lethargy said:
The knock code module just replaces the pattern lock. It doesn't keep the digitizer on like the LG G3. Doesn't work when the screen is off.
Sent from my Nexus 5
Click to expand...
Click to collapse
isnt the point of it to be used with knock on features?
rootSU said:
isnt the point of it to be used with knock on features?
Click to expand...
Click to collapse
I guess it is on the LG G3, but on that device it can also be used when the screen is on, as a lock screen method, which is what the module emulates.
Sent from my Nexus 5
Ok. Well as suggested turn 1 off , run for as long as possible. Turn another off and run as long as possible. Etc
Sent from my Nexus 5 using Tapatalk
Lethargy said:
I guess it is on the LG G3, but on that device it can also be used when the screen is on, as a lock screen method, which is what the module emulates.
Sent from my Nexus 5
Click to expand...
Click to collapse
Its fine that its only while the screen is on and its pretty cool actually.
I think I found the problem and that's its from xposed itself....after I uninstalled the framework I THINK that there is less drain...
Can everyone share their version of xpised and what modules they're running and how is the battery usage...?
Thanks
Sent from my Nexus 5 using XDA Free mobile app
nabil alami said:
Its fine that its only while the screen is on and its pretty cool actually.
I think I found the problem and that's its from xposed itself....after I uninstalled the framework I THINK that there is less drain...
Can everyone share their version of xpised and what modules they're running and how is the battery usage...?
Thanks
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Latest Version > 18+ modules > Battery life unaffected
rootSU said:
Latest Version > 18+ modules > Battery life unaffected
Click to expand...
Click to collapse
There isn't a huge drain even on stabdy? And are you using GB?
Please link to the latest version
Sent from my Nexus 5 using XDA Free mobile app
nabil alami said:
There isn't a huge drain even on stabdy? And are you using GB?
Please link to the latest version
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
No additional drain. Latest version available via the xposed installer app.
Really, the user experience with Xposed varies from one user to another xD
Sent from my Nexus 5
rootSU said:
No additional drain. Latest version available via the xposed installer app.
Click to expand...
Click to collapse
2.6.1?
Sent from my Nexus 5 using XDA Free mobile app
Lethargy said:
Really, the user experience with Xposed varies from one user to another xD
Sent from my Nexus 5
Click to expand...
Click to collapse
To a limit...as having so much drain using three known modules is very starnge. I lost 35% on a couple hours if total standby. So there is something wrong.
Sent from my Nexus 5 using XDA Free mobile app
nabil alami said:
2.6.1?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thats just the installer app. It does nothing except intall teh frameowrk, but yes that is the latest app. go to "downloads" tab and it will show you it is up to date.
rootSU said:
Thats just the installer app. It does nothing except intall teh frameowrk, but yes that is the latest app. go to "downloads" tab and it will show you it is up to date.
Click to expand...
Click to collapse
What's the difference between the classical installation and the normal installation!
Sent from my Nexus 5 using XDA Free mobile app

battery life is horrible, what can I do? (stats included)

I have 2 hours of SOT! Why? I use a a stock 5.0.1, rooted with latest ElementalX. Greenified all apps except of the ones I need notifications from, gps is off, auto brightness and I can't get a decent battery life? Why?
I know people like GSam, but could we get a BBS log please?
I dont have that, but I will install it now. For now, please help me with what I have
Bei60 said:
I dont have that, but I will install it now. For now, please help me with what I have
Click to expand...
Click to collapse
I can't do much with what you have. That's why I requested you provide a BBS log.
I can tell you that you need to go into Developer Options and disable NuPlayer (and reboot). That's (one of) the culprits of crazy battery drain in 5.0. I don't use ElementalX, so I can't say if it's default settings are contributing to your problems or not. You may want to roll with stock until this issue is fixed?
I recommend for now turning off NFC and turning location off or setting to GPS only. Working pretty good on CM12.
Sent from my Nexus 5 using XDA Free mobile app
This is what I got today, sorry that its not a full day, also I changed my jernel to franco r70.
Bei60 said:
This is what I got today, sorry that its not a full day, also I changed my jernel to franco r70.
Click to expand...
Click to collapse
It's kinda hard to see anything out of the ordinary. Have you tried different ROMs?
Sent from my Nexus 5 using XDA Free mobile app
Chrome eats battery. I would get a different browser like Naked Browser.
Sent from my Nexus 5 using XDA Free mobile app
Getxrealx said:
It's kinda hard to see anything out of the ordinary. Have you tried different ROMs?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I don't see anything too out of the ordinary. Have you disabled NuPlayer and changed location mode to Device only?
Please use the "Battery Life Help" thread convienently stuck at the top of this section.
http://forum.xda-developers.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128
Closed.

[Q] Help! Battery drain, can't figure it out. Screenshot enclosed.

Hey all,
I'm sure it's been asked to death about battery but I'm going to ask again. I just can't figure it out. I've done all the "tips and tricks" and still keep getting the battery drain. I'm only getting about 7 hours on battery, most of which I'm not even using it. As you'll see in the screenshot "Android System" uses the most, and I just don't know why or what in there is draining it. Any help would be appreciated, and I can give any more information or screenshot needed.
Thanks,
Dan
Post better battery stats Screenshots
Sent from my SM-G920F using XDA Free mobile app
What other screenshot would you like?
Better battery stats is an app. You can find it on play store. Post screenshot from that app ?
Gotcha. I would but I don't have root. Next option?
danieltedwards said:
Gotcha. I would but I don't have root. Next option?
Click to expand...
Click to collapse
Well, it's probably problem with deep sleep? Nothing root wouldn't fix ?besides that, I'm not sure.
I haven't rooted anything since my droid 3, haha. So it's been a little while. I guess I'll just have to give it abother shot and see how it goes. Recommended ROMS for the S6?
Don't do any roms yet, just root it with the ping pong app and send us the Screenshot
Sent from my SM-G920F using XDA Free mobile app
Sounds good thanks. I'll get it done tonight and send a screenshot tomorrow when the battery runs down again.
This is what my battery was doing prior to returning to stock. I could not find the solution..I even did the deep sleep fix. For now my only solution is stock
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
Root, then use Titanium Backup to freeze all unnecessary apps, then use Greenify and/or Servicely to restrict all non-system apps & services.

Categories

Resources