yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Ok_Kaleidoscope5109:
I haven't been keeping tabs on nlpcollectorwakelock for a while now but HOLY CRAP... 41 minutes over 4 hours?

For the record I have location reporting on, but I don't remember it being that bad. I wish I could tell which app is using it that much.
[Nexus 5 General] Hesse34:
You can with the app "Wakelock Detector" and I think you also can with BBS. I find WLD easier to use. I would guess it's play services with all those wakelocks.
[Nexus 5 General] EnIXmA:
Any way to fix this Google search and calendar app waking up the device constantly?

I even turned off Google now and locations to no avail.

Thmx
[Nexus 5 General] lanwarrior:
For Calendar, if you use Google Calendar with your Gmail account, it'll be always running to sync the calendar.

For Google Search, it's baked in in KitKat, no way around it. :'(
[Nexus 5 General] Enddo:
i would guess google now is what's keeping google search active.

you can go into settings, then your gmail account, and then specify to not tell google calendar to sync. there might also be some apps that let you limit the number of syncs it can do. tasker comes to mind
[Nexus 5 General] CJSnet:
A neat trick for Location Services is to use the plugin fur Tasker called Secure Settings, and use it to only turn on High Accuracy Location for certain apps you need that for, like Maps, Earth, Glympse, etc. Then add an Exit Task to switch back to Battery Saving Location when not in those apps.

If this post helped you, feel free to click "Thanks"... Thanks! :p
[Nexus 5 General] lanwarrior:
Does this work with KitKat? Google changed how Location Services work from 4.3 to 4.4.

Just checking..
[Nexus 5 General] CJSnet:
Yes it does. My instructions were for the new method.

If this post helped you, feel free to click "Thanks"... Thanks! :p
[Nexus 5 General] tylerdurden83:
Althought the xposed module to make the popup go away is broken, so that will only work between battery saving and high accuracy, not with device only or turning location off altogether, unless you use dpad to auto accept it i guess ;)
[Nexus 5 General] Enddo:
i believe this is why we need the Secure Settings app now
[Nexus 5 General] E--Man:
Hi,

Does the Secure Settings plugin to toggle Location Services work for anyone in 4.1.2 Jelly Bean? Doesn't work for me and I'm rooted.

As far as I understand, it only works for 4.4 KitKat and above.

Thanks.
[Nexus 5 General] Remoteconcern:
I doubt anyone will know, this is an N5 forum so none of us will have JB 4.1 :)
[Nexus 5 General] the7thson:
You shouldn't need Secure Settings to toggle location in 4.1. You can use the Tasker built in function to toggle GPS, I remember using it back then. Secure Settings is only needed for GPS after 4.4 I believe.
[Nexus 5 General] E--Man:
I think you are misunderstanding, NOT GPS, Location Services.
[Nexus 5 General] the7thson:
In that case, sorry I don't recall. I haven't had 4.1 since about 3 phones ago I believe :(
[Nexus 5 General] masmddr:
Haven't read through the entier thread but I have a question

Has anyone tried deneying "Google Play services" 's ability to "Wake up" and "Keep awake" using AppOps?

I've done so about 12 hours ago and have no mentions of nlp in WLD

In AppOps I see it has been denied 2260 times to wake up and 14560 time to keep awake

I have no idea how it affects the phone in general however

Nexus 4 CM11 nightlies
[Nexus 5 General] maidenboston:
i've just done the same. so far after 12 hrs, i dont see any issues...
[Nexus 5 General] ianfebriyanto:
hello everyone, I'm using LG G2 with stock rom, 4.2.2 version and I get same problem about wakelock, sometimes my screen doesn't turn off after automatically after screen timeout. and my phone get normal again if I reboot my device. how can I fix this, this is very disgusting ? thanks in advance :)
[Nexus 5 General] Gormsen:
This is both the wrong phone and wrong thread.

Go to LG G2 forum and ask they guys over there, this is for the Nexus 5 ;)
[Nexus 5 General] ianfebriyanto:
yep, I know, I think this thread almost same with my problem. :D
[Nexus 5 General] Ben36:
Anyone explain this -

But bbs still shows this -
[Nexus 5 General] masmddr:
From what I understand:

Disabling "location" in AppOps simpley returns fake/empy data to an app requesting location information

So it doesn't mean it will stop waking up the device

It will wake up the device but won't be able to get location info
[Nexus 5 General] Ben36:
So is there a way to actually stop the app?
[Nexus 5 General] lanwarrior:
Stop Google Play service? No, it's needed by the os.
[Nexus 5 General] JunDavis:
*Not needed, recommended for optimal experience.
[Nexus 5 General] GtrCraft:
Have fun using google apps without play services then :p
[Nexus 5 General] lanwarrior:
You sure? I tried this a couple of times (S4 Active and Nexus 5) and all kind of hell with Google Apps - YouTube, Chrome, Maps, etc. With the S4 Active, it even cause a random reboot (turns out the folders in TouchWiz is highly connected with "Animation" in the Developer option)

I guess if you don't use ANY Google apps, then probably you're fine.
[Nexus 5 General] bblzd:
Why not disable locations when it's not being used? It's only needed for specific tasks so no point for it to idle 24/7.
[Nexus 5 General] jdec529:
I have been doing some comparing with location reporting and history on and off and have noticed that even though the wakelocks are still there that it really doesn't affect battery as much as you would think. I use to keep them off but missed the location reminders of Google now so turned them on. In my experience on average I am only about 5-7% lower by days end with them on.
[Nexus 5 General] bobafetthotmail:
Has anyone tried an app called Disable Service from Playstore? https://play.google.com/store/apps/details?id=cn.wq.disableservice

It needs root (no duh!) but can disable services SELECTIVELY, so I managed to turn off most of the dumb and useless location services crap without turning of the whole Google Services. Appquarantine (what I was using before when on CM9) is not as selective.

I'm on an xperia Sola running a CM11 port (Kitkat), found this thread by googling around my issues, and finding the Reddit thread.
[Nexus 5 General] bobby janow:
I am having this issue too all of a sudden. I installed Greenify donate version were it will tell you what exactly turned on the phone for the partial wakelock. To my surprise I saw Google Voice waking the device. I froze it with Titanium and the wakelocks stopped. But that was only an hour or so ago so I'll keep an eye on it. Had all location off too so I've enabled it to see if that matters. This is really annoying however.
[Nexus 5 General] JunDavis:
There is actually custom ROMs specifically for this is you haven't noticed.
[Nexus 5 General] howard bamber:
I froze it. Phones fine. Just played a game

Sent by mobile telephone.
[Nexus 5 General] Ben36:
Awesome, now look -
[Nexus 5 General] lanwarrior:
By doing this, are other Google Apps so functioning? I am primarily concerned with Maps and navigation.
[Nexus 5 General] neriamarillo:
Just tried it and maps was working fine so far. I'll update if it stops working or if it works fine.
[Nexus 5 General] lanwarrior:
Cool. Let me know if navigation will go bonker. :)
[Nexus 5 General] Ben36:
No issues so far
[Nexus 5 General] cawith:
Ok, if everything is working even though the services have been disabled, what are they there for then???

Background updating for Google Now or anything else?
[Nexus 5 General] Ben36:
Being annoying and wasting battery?
[Nexus 5 General] bobafetthotmail:
Nice app, isn't it?

I disabled more stuff that has a name that looks like it has to do with alarms, bug reporting, GPS, synching or location. I did disable the other blue services in your screenshot apart from the FuseLocation. ("geo" prefix means "earth", and is GPS stuff, and it's useless crap unless you enjoy letting someone track your position)

Also try tapping the "SHOW FULL NAME" tab and see if you find apps that match the name the battery saver gave you.

Bulk of those crap services were a separate app before KitKat and was a breeze to disable... Google got smarter and bundled it in a core app.

Also inside App Store and the "google service framework" system app.

---------- Post added at 08:58 PM ---------- Previous post was at 08:54 PM ----------

Geotracking (sending your GPS position back to Google), useless "remotely find/lock your phone if stolen" features, random updates to stuff none cares about, ads (there is a couple services dedicated to tracking what you do and reporting stuff so you can get tailored ads) wifi network location, which is all just a ton of blatant spyware.

The most offending services (for me) where the ones about checking what wifi you are on and what wifi are around you. ("nlp" stuff which is "network location something") Wifi tracking yay!
[Nexus 5 General] cawith:
Doesn't it take you ages then to get a GPS lock, and also be impossible to find your approximate location when indoors?
[Nexus 5 General] Ben36:
Any idea what the gmscore send idle wakelock is or does etc?
[Nexus 5 General] bobafetthotmail:
Google services don't improve your hardware. Never. If you turn off the services about wifi location then you won't have that feature, of course, but GPS works the same with or without.

On my Sola I've not noticed any difference. My GPS keeps sucking with or without (even on stock ICS ROM).

For serious work (navigator apps) I have a battery-powered bluetooth GPS thing with 48 channels that locks like a pro.

(and enable the "enable mock location" option from developer settings and use a generic "Bluetooth Gps" app to disguise it as the crappy internal GPS for other apps)

Being bluetooth it even saves a ton of power (it has its own battery, the phone only needs to power bluetooth)
[Nexus 5 General] paychex:
Think I might have solved it. I ran clean master a couple days ago and noticed that NPL wakelocks were almost non existent. After a few days they came back. I'll do some more test and see if this actually fixes it. The caveat is you may need to reattach market links select everything for auto-update again
[Nexus 5 General] arvonn:
I just checked. Disabling all five will prevent maps from working in agps more, only b good more would work.

But v with some trial and error, only two services need to be disabled to keep all frictions ( Google now, fast maps, etc) but without less the evil nlp collector wake lock.

See below:

Update: and additional day of testing showed that those two services reduce, but did not entirely remove
[Nexus 5 General] E--Man:
I just tried to disable both these 2 services from Google Play Services, and still have the nlp wakelock. Any idea why?
[Nexus 5 General] arvonn:
i wuz wrong!

Yes, I was wrong. :(

It definitely reduced the wakelocks for me, from ~2 hrs per day to ~30 minutes, but not a complete elimination.

It did completely eliminate the wakelock for about 12 hrs, which prompted me to post.. but after another day of testing, i was wrong. :( :crying:
[Nexus 5 General] howard bamber:
Try looking at your kernel. I'm on Elementalx and suffer no wake lock. Also Rom toolbox pro has an app which you can go through everything, bringing up all the radios for any app, built-in, or store and switch off the offending radios. Like I say look at your kernel. The stock one is useless

From my mobile telephony device.
[Nexus 5 General] paychex:
Kernel has absolutely nothing to do with it
[Nexus 5 General] Mindspin_311:
I am getting hit with this a lot lately

NlpCollectorWakeLock

Im thinking it might be the updated Google Now?

35min over 7h 39m
[Nexus 5 General] aeoveu:
I disabled Google Now today and I'm getting a similar amount (less, but its there).

So I think its Google Play Services.

Also, I read somewhere that an update is out for GPS.
[Nexus 5 General] kingston73:
What did you use clean master for? I'm not understanding this.

I also don't understand why this thread only has 3 starts, seems like it is an important thread with good info?
[Nexus 5 General] aeoveu:
I'm going to turn off "WiFi scanning always available" and enable location reporting, then see how different the drain is.

Cause these days, i have location reporting off but WiFi scanning on, and its not helping.

It just happened (the drain) out of the blue, randomly.
[Nexus 5 General] mrbubba999:
So has anyone definitely worked out what specific bit is causing the drain? Mine only started the last two days and I've followed all the guides I can, but nothing seems to be working.
[Nexus 5 General] muyoso:
Set your location mode to device only and turn off location reporting and this issue disappears. Otherwise your phone is constantly sending location data to Google for traffic information and Google Now.
[Nexus 5 General] mrbubba999:
I don't have any of that stuff on
[Nexus 5 General] demoncamber:
Here's an interesting one, anyone have an idea what this is from?

Sent from my LG-D801
[Nexus 5 General] aeoveu:
Okay - so that strategy didn't help.

But I do know that after Play Services updating, the drain stopped. I did a test overnight - and while staying in the same spot, there'd be a wakelock. It appears to have been fixed now.
[Nexus 5 General] paychex:
While it might not help with the wakelock itself it will help with the battery. That's the real idea.
[Nexus 5 General] zibiksior:
What version? I have this(check attachment).

I've started to have huge google services nlpcollectorwakelock time after updates of maps, YouTube etc. A proximately that's when it started for me.

I've tried disable services through the app mentioned few pages ago but than I'm having problem with refreshing weather widget because it can't acquire my location... Also after using this app when I change location settings to "Battery save" location reporting field I greyed.

Maybe this update can help me but unfortunately I think I have the latest version...

Weird for me is that this problem started suddenly. I made clean install of ROM one time and after that wake lock was bothering me. I thought it was because of ROM and flash few others again. But on every single one was the same... Before never had such a problem... My config is totally the same. The same apps, settings etc. So I think it must be related with this recent updates.
[Nexus 5 General] Awesomepie85:
G+ and sometimes Google Maps was giving me a pretty bad time with the nlpwakelock. Location on high accuracy, location history off. I would get an hour or so of nlpwakelock from G+ for every 6 hours. The only way I've solved it is turning location off completely.
[Nexus 5 General] aeoveu:
I have the same version of the Play Store, and I think I spoke too soon...

I trued putting my phone yesterday in Safe Mode and lo and behold! No drain!

So its some app that's being a prick. Which app that is, I have no clue.

But its driving me crazy.

And yes, its apparently some updated app.
[Nexus 5 General] zibiksior:
I'm tired of this too I don't know what to do more to eliminate the drain. 12 hours on battery with 3:40 SOT really really bad... :( Only think which is working is to turn off location but its not convenient solution. I think we have to wait for 4.4.3 update but unfortunately I read today that the update will be delayed once again...
[Nexus 5 General] aeoveu:
Turning location off isn't working - I have location reporting turned off, but its still triggering like no tomorrow.
[Nexus 5 General] zibiksior:
Yes but I'm talking about turning off location completely not only location reporting. Like this: when I need GPS I turn it on form quick settings but at the rest of the time its turned off.
[Nexus 5 General] sherdog16:
It's the latest Google search update. Been killing me too. Only solution is to nuke Google Now
[Nexus 5 General] aeoveu:
I'll try - but I really don't know, cause bottling the phone in safe mode fixed the drain (Google Now on, location reporting off).

Gonna try safe mode again and see.
[Nexus 5 General] zibiksior:
I'm also not sure is that because of the Google now... I think there is something else going on. Turning of location helps with drain for me and Google now still works. There must be something what is acquiring location all the time and its shown I BBS as Google services.
[Nexus 5 General] sherdog16:
Correct. It's Google Now pinging your location constantly and what seems like forcing location storing. I assume it's for the "where you parked your car" thing they added. Bogus that we can't kill it easily
[Nexus 5 General] aeoveu:
I turned Google Now off. It didn't seem to help much (Play Services didn't ping as much - much less, rather - but my phone was constantly being held awake.

I then decided to see which apps run on startup and removed some of them.

Either I'm going batty, or Google needs to clean something up FAST!!!
[Nexus 5 General] paychex:
You are. I'm getting less than .5% drain an hour with everything turned on. Everyone should try rebooting your phone every morning
[Nexus 5 General] aeoveu:
I did today.

Maybe the Play Services that I have are at fault? I mean - the drain just popped up one fine morning, and turning location reporting off doesn't fix.

I'm still venturing on the road of uninstalling apps and finding out the cause.
[Nexus 5 General] zibiksior:
I've tried today turning off Google Now and actually it helped for me. Weird why it didn't help for you [MENTION=3159534]aeoveu[/MENTION] but its not the solution for everybody because many people use Google now very often. I searched the web to find out how to turn off car parking location in Google now but unfortunately it didn't helped... I don't know is it actually turned off because I just tap 3 dots on right top corner of the card and selected: "Stop remembering your car parking location". I don't know if it will start showing car parking location card again or not.

EDIT. Hmm I think its actually turned off for good but its not a solution :P
[Nexus 5 General] sherdog16:
Right. Nuking Google now "fixes" the wakelocks but it sure as hell isn't a fix
[Nexus 5 General] lalec:
I'm glad that it only takes away functionality I don't use anyway. Google not now (as I always say).
[Nexus 5 General] aeoveu:
I disabled parking reminders yesterday, so I'll be able to check today. Thanks for your tip. Let's see.
[Nexus 5 General] aeoveu:
[MENTION=4486292]sherdog16[/MENTION], sadly, it doesn't.

I did a bit of Googling (I did it a few days ago but thought I was getting stale results) and it seems that we're not the only ones facing this drain - Google Play Services is the culprit. GSam and Better Battery Stats and Wake Lock Detector - as well as Android's own battery menu - report Play Services creating a bloated wakelock.

I've even removed apps from my phone (I'm in the habit of saying "computer" lol) but it didn't budge. I just factory-reset the phone and had Google Play Services updated and...

Wait - it's not showing a very high wakelock right now lol. It did - before a reboot - and that's also when I had location reporting enabled. I turned that off, restarted the phone, and ever since, it seems to not have as many Play Services wakelocks (there are wake-ups - but just not as crazed as they were).

I'm going to try again for another hour or so. Me thinks the problem is still not gone (since the phone is STILL waking up in between even when there are NO apps after a factory reset).

I'm rambling. A bientot! *hops off like Batman*
[Nexus 5 General] sherdog16:
DB
[Nexus 5 General] PsychDrummer:
That's interesting. Do you keep auto-update on for apps? I always turn mine off and I had the drain. It's weird though, since I don't think the play store uses location. But I guess it might. I went into app ops and play store has a location permission, however it says it was never used. So I'm not sure. I guess me or someone else can try to disable location and see what happens.
[Nexus 5 General] aeoveu:
The only time the Play Store uses location is when determining which country you're in - and the last time I recall, it never used the phone's location but rather, the IP. But - perhaps the new Play Store determines location differently? (that's just speculation on my part).

Also something I forgot to insert in my previous post wrt location (it may or may not have any connection): before, I could access another country's Play Store by using a VPN (I had accessed the US version cause it usually had the latest updates and all that were not all available elsewhere). I then made a few additions to Google Play Music (the free tracks) and since then, my Play Store got "frozen" to the American one. To get the prices to reflect my local currency, I set it up with my credit card (didn't execute a transaction) and later removed it - thereby reverting my Play Store to what it was. Later on, when I used my VPN, I wasn't redirected to another country's Play Store.

I had a far-fetched thought which I'm going to keep to myself and stop myself from looking stupid :p but perhaps the Play Store tried to get a location using another means, and that the new APK couldn't work well with the "primitive" Play Stores (the ones that we have in the third world)... ?

Ongoing for months? For me, it only started happening this past week or so. And these threads - they're not a "one-size-fits-all", and I hope you realized that. Everybody has different configurations, and I never really faced the Play Services drain (thankfully) until this time. For me, manually updating the Play Store (this time) did not play nicely with my battery. You can check that it wasn't until A FULL WEEK LATER that I tried not updating the Play Store - as an experiment - and that worked.

Shame my findings did not play nicely with you either. ;)

---------- Post added at 04:32 PM ---------- Previous post was at 04:28 PM ----------

Addendum:

- Location reporting OFF

- Location history ON

- Scanning with wifi ON (that background scanning option in the Wifi settings area).

A little while ago, I saw the batter drain: it went down to 0.6% - which means it's sleeping much more normally now. Phew!

And this is why I asked how many of you have the new Play Store installed who are facing a drain... I mean - the roll out hasn't happened to my device yet, so perhaps what I'm saying holds some value...?
[Nexus 5 General] PsychDrummer:
[MENTION=3159534]aeoveu[/MENTION] I've just been using device only location. For now it seems to be the only consistent way of getting rid of the drain. Whenever I need to use maps I just switch to battery saving/high accuracy.
[Nexus 5 General] muyoso:
I also use Device Only and it has completely solved the issue for me. I dont know why this is still a problem for people. There is a solution which seems to work for almost everyone. Disable location reporting and turn on Device Only. The phone isn't malfunctioning when it gets these NLP wakelocks, its reporting your location back to Google for things like traffic data. If you have Battery Savings or High accuracy mode activated, then you will be constantly reporting your location data to Google, especially if you are moving a lot and switching between lots of cell towers.

If you have enabled Device Only and disabled location reporting and are still getting the NLP wakelocks, then it has to be an app that is the cause and that should be easy to isolate and fix.

You miss out on a couple Google Now location based cards with Device Only apparently, but for the most part its no different than if you had High Accuracy enabled. Slightly slower lock ons with regards to GPS, but at least you dont have to deal with the nonsense of fiddling with location settings each time you launch maps like if you had Battery Savings enabled, and it uses SIGNIFICANTLY less battery than the other two methods. The reason for this is the vast majority of the time you are not actually using or in need of your phone's GPS function, and at these times Battery Savings and High Accuracy are both still gaining location data for the sole purpose of sending that information back to Google. When you set your phone to Device Only, your phone is gaining zero location data when you are not using it (No NLP wakelocks), so there is no additional unnecessary battery drain. Benefits greatly outweigh the few minor features you may miss out on.