NlpWakeLock and NlpCollectorWakeLock Discussion

sherdog16

Senior Member
Feb 9, 2012
298
96
0
I want to share this for anyone who cares. I've done a few things which have given me Google Now back (I love having the suggested web articles to read which is why I even care in the first place) and I don't seem to get drain from it. Keep in mind this probably nukes search location abilities but not anything else that uses location. And it may still work, I however don't use Now for weather and daily commutes so they aren't a factor for me. Feedback welcomed as those might still work as well...
I went full retard on Search/Now by taking these steps (i have no idea what helped and what isn't needed so debug if you want, or just do everything)
Made Search a system App

Disabling 3 (Google Play Services) services in system tuner (ReportingAndroidService, LocationReportingService, ReportingSyncService)
https://dl.dropboxusercontent.com/u/38436349/2014-05-30 13.53.41.png

Setting the alarm multiplier x100 for search in the xposed module "per app hacking"
https://dl.dropboxusercontent.com/u/38436349/2014-05-30 13.57.07.png

I revoked wakelock permissions in App ops x
https://dl.dropboxusercontent.com/u/38436349/2014-05-31 14.01.05.png

And I also cut the wakeup path velvet.location.LocationReceiver via greenify but then un-greenified search. Don't know if this has any effect but it's something I did.

Final thoughts:
Overnight I had around 1% battery drain per hour with Gmail syncing every 2 hours so it's what I would expect
I had a lot of the NlpCollectorWakeLocks but no associated drain from them. There was something like 7 minutes worth and if they were true wakelocks, along with the other ones listed (some tasker, some gmail, some wifi), there would've been more than 1% per hour drain. I think they are just done when the phone is awake from something else (ie: a gmail sync) and recorded by BBS as wakes but they actually aren't waking the phone. Maybe an app issue with BBS.
 
Last edited:

zibiksior

Senior Member
Dec 8, 2009
349
100
0
Warsaw
I want to share this for anyone who cares. I've done a few things which have given me Google Now back (I love having the suggested web articles to read which is why I even care in the first place) and I don't seem to get drain from it. Keep in mind this probably nukes search location abilities but not anything else that uses location. And it may still work, I however don't use Now for weather and daily commutes so they aren't a factor for me. Feedback welcomed as those might still work as well...
I went full retard on Search/Now by taking these steps (i have no idea what helped and what isn't needed so debug if you want, or just do everything)
Made Search a system App

Disabling 3 (Google Play Services) services in system tuner (ReportingAndroidService, LocationReportingService, ReportingSyncService)


Setting the alarm multiplier x100 for search in the xposed module "per app hacking"


I revoked wakelock permissions in App ops x

And I also cut the wakeup path velvet.location.LocationReceiver via greenify but then un-greenified search. Don't know if this has any effect but it's something I did.

Final thoughts:
Overnight I had around 1% battery drain per hour with Gmail syncing every 2 hours so it's what I would expect
I had a lot of the NlpCollectorWakeLocks but no associated drain from them. There was something like 7 minutes worth and if they were true wakelocks, along with the other ones listed (some tasker, some gmail, some wifi), there would've been more than 1% per hour drain. I think they are just done when the phone is awake from something else (ie: a gmail sync) and recorded by BBS as wakes but they actually aren't waking the phone. Maybe an app issue with BBS.
Hi, images are not working could you update please?
 

akash3656

Senior Member
May 3, 2010
1,728
851
0
Hi, the fix for me was to keep Google search at version 3.3 and not to ever update it again until I'm forced to. (4.5/5.0?)

The latest update sucks battery and hides itself as "Google Play Services". Even after disabling the parking feature, it's still a hog.

Sent from my Nexus 5 using Tapatalk
 

sherdog16

Senior Member
Feb 9, 2012
298
96
0
Hi, the fix for me was to keep Google search at version 3.3 and not to ever update it again until I'm forced to. (4.5/5.0?)

The latest update sucks battery and hides itself as "Google Play Services". Even after disabling the parking feature, it's still a hog.

Sent from my Nexus 5 using Tapatalk
Mind sharing the APK for those interested?

Sent from my SCH-I545 using Tapatalk
 

Mindspin_311

Senior Member
Feb 25, 2011
656
35
0
Sandy Springs, GA
Hi, the fix for me was to keep Google search at version 3.3 and not to ever update it again until I'm forced to. (4.5/5.0?)

The latest update sucks battery and hides itself as "Google Play Services". Even after disabling the parking feature, it's still a hog.

Sent from my Nexus 5 using Tapatalk
Yes, Google Play services is running wild on my phone.
 

dmeerpa

Senior Member
Jul 12, 2013
89
40
0
Aalst
I discovered something.

I reinstalled my Phone again with Android 4.4.2. I installed all my apps. Using the Google Now Launcher.
Batterie consumptions seems normal. I see wake locks but acceptable.

But when driving to home from work I used Avertinoo (A radar notifying application that uses GPS). At home I closed the application. But suddenly I saw that the phone stays awake all the time. And Google Service is responsible for 86% of battery consumption.
Only solution, restart of the phone.
I did several test with this application. A short usage of the application does not seem to trigger the problem.
I did a test with Navigon (Navigation software) and I got the same problem.

So I think any application using the GPS for to long, will cause a problem with the Google service (endless loop due to time out ?).
Ok I agree I do not have a Nexus 5, so I could be I got another problem as well.
 

dmo580

Senior Member
Dec 29, 2009
2,606
708
0
I wish there were stats about which apps are invoking these wakelocks. Like is it Google Now? Maps? Google Offers? Google+?
 

zibiksior

Senior Member
Dec 8, 2009
349
100
0
Warsaw
I've tried solution which @sherdog16 gave us and I figured out that just denying wake up and keep awake in App Ops for Google Play Services(not Google now) helps with wakelocks!
Here is how it looks like:
uploadfromtaptalk1401796566658.jpg

I'm using Mahdi ROM which has App Ops build in to the ROM. This method doesn't affect acquiring location by any other app. Google Now shows weather for my location etc.

Here is also screenshot how it looks like in BBS:
uploadfromtaptalk1401796907568.jpg

Hope it will help!

BTW. Any one tried 4.4.3 update? Is the issue also there?
 
Last edited:

maidenboston

Senior Member
Aug 27, 2010
173
44
48
nyc area
I've tried solution which @sherdog16 gave us and I figured out that just denying wake up and keep awake in App Ops for Google Play Services(not Google now) helps with wakelocks!
Here is how it looks like:
View attachment 2778079

I'm using Mahdi ROM which has App Ops build in to the ROM. This method doesn't affect acquiring location by any other app. Google Now shows weather for my location etc.

Here is also screenshot how it looks like in BBS:
View attachment 2778096

Hope it will help!

BTW. Any one tried 4.4.3 update? Is the issue also there?

i do the same too. sometimes i deny only one of the wakeup just to see...
either way..location is fine, the wakelock decreased by alot.

but, sometimes i get a google play cannot locate something dialog...i just OK and go along my way...

(was mentioned awhile back in this thread...)
 

Nexces

New member
Apr 23, 2013
1
0
0
I don't have Nexus 5 but Xperia Z, however i was affected by Nlp battery drain and my phone was barely being able to make it through the day.
I tried many different solutions and finally i've settled on setting Location mode to Device only.
And this is how it looks right now:
Screenshot_2014-06-04-10-06-35_sm.pngScreenshot_2014-06-04-10-06-55_sm.png
 

demoncamber

Senior Member
Jan 20, 2012
1,213
245
0
I've tried solution which @sherdog16 gave us and I figured out that just denying wake up and keep awake in App Ops for Google Play Services(not Google now) helps with wakelocks!
Dude!!! Seriously thank you!!! You just solved my remaining wakelocks!!!!! I only had a keep awake option in app ops though, nothing for wake up. Question: do you have Google now installed and do you use it?


Sent from my LG-D801
 
Last edited:

Mindspin_311

Senior Member
Feb 25, 2011
656
35
0
Sandy Springs, GA
I've tried solution which @sherdog16 gave us and I figured out that just denying wake up and keep awake in App Ops for Google Play Services(not Google now) helps with wakelocks!
Here is how it looks like:
View attachment 2778079

I'm using Mahdi ROM which has App Ops build in to the ROM. This method doesn't affect acquiring location by any other app. Google Now shows weather for my location etc.

Here is also screenshot how it looks like in BBS:
View attachment 2778096

Hope it will help!

BTW. Any one tried 4.4.3 update? Is the issue also there?
Can you link the specific App Ops app that you are running? Is it in the play store or found here on XDA somewhere?
 

Mindspin_311

Senior Member
Feb 25, 2011
656
35
0
Sandy Springs, GA
App ops starter on play store

Sent from my LG-D801
Thanks! I installed an Xposed module, but it didnt show both options that you disabled.

---------- Post added at 12:27 PM ---------- Previous post was at 12:25 PM ----------

Thanks! I installed an Xposed module, but it didnt show both options that you disabled.
Weird, I can see the "Keep awake" option, but the "Wake up" option.

Im stock, rooted.
 

zibiksior

Senior Member
Dec 8, 2009
349
100
0
Warsaw
What functionalities do you lose by denying those? Cheers!
Like I wrote I didn't noticed lost of any functionalities. Any app can acquire location. Google now is updating weather for my current location etc. Someone wrote that he is experiencing rare google services fc's and unfortunately I have to confirm that. I had 2 maybe 3 fc's of google play services within 3 days. But I think its not a problem and could happen because we do some stuff that shouldn't be made. :p




Thanks! I installed an Xposed module, but it didnt show both options that you disabled.

---------- Post added at 12:27 PM ---------- Previous post was at 12:25 PM ----------



Weird, I can see the "Keep awake" option, but the "Wake up" option.

Im stock, rooted.
Also was written in my post I'm using built in to the Mahdi custom ROM App Ops, which can be different than xposed module or any other app.