FORUMS
Remove All Ads from XDA

Possible NlpCollectorWakelock/NlpWakelock fix

418 posts
Thanks Meter: 195
 
By burningembers, Senior Member on 22nd September 2013, 06:21 AM
Post Reply Email Thread
Since day 1, despite factory resets and freezing bloat, my LG G2 has experienced some *insane* wakelocks around NlpCollectorWakelock and NlpWakeLock. We're talking about 2 hours every 10 hours or so of uptime, basically destroying my battery life.

Now, the simple fix for this is to turn off Wifi/Mobile Network Location, voila, phone deep sleeps, life is good. Except this doesn't fly for me, because I still want to use Google Now, and I can use it just fine on my S4 without this insanity.

To get a little better insight, metric-wise, I pulled Velvet.apk from /system/app and self-installed Google Search straight from the market (essentially Google Now) so that I could keep tabs on it in Greenify.

Turns out Google Search was running as much as 200 times per hour and causing wake-up ~5-10 times per hour. I could practically refresh and just watch the count go up and up.

So on a whim, being rooted and a little bit of a risk-taker, I used Titanium Backup and uninstalled Google Play Services. Null. Gone. Kaput.

Then when I launched Google Now again, it requested I nab Google Play Services from the market. So I did. I installed, rebooted.

To my surprise, in the last five hours since doing that, Google Search has run 12 times, and woken up 12 times. Better Battery Stats is reporting NlpCollectorWakeLock at 2 minutes and 8 seconds for ~5 hours uptime, and NlpWakeLock at 2 minutes and 43 seconds.

Anyone else want to take the dive with me and see if this gives them as significant of a before/after as it did for me? My phone is deep sleeping like a champ now and I really hope this keeps up.

tl;dr: Uninstall Google Play Services from /system/app using Titanium Backup, launch Maps or Google Now and then re-install Google Play Services from the market. Reboot. See if location service related wakelocks drop significantly. Rejoice if they do. Lament further if they don't.
The Following 23 Users Say Thank You to burningembers For This Useful Post: [ View ] Gift burningembers Ad-Free
 
 
22nd September 2013, 08:58 PM |#2  
Senior Member
Flag Valparaiso
Thanks Meter: 32
 
More
Well, I removed Google play services and installed via market this morning. I'm still seeing a ****load of NLP wakelocks, but on the att version I haven't figured out how to completely remove search. Could that be the issue?

Sent from my LG-D800 using Tapatalk 4
22nd September 2013, 09:28 PM |#3  
OP Senior Member
Thanks Meter: 195
 
More
Quote:
Originally Posted by lastdeadmouse

Well, I removed Google play services and installed via market this morning. I'm still seeing a ****load of NLP wakelocks, but on the att version I haven't figured out how to completely remove search. Could that be the issue?

Sent from my LG-D800 using Tapatalk 4

Oops, I guess I forgot to mention that I also removed Velvet.apk from /system/app (LG's pre-installed Google Search), and reinstalled that from the market as well. Not sure if that is related.

I, too, have the AT&T version. I will run some more tests today. But so far today with 1 hour screen-on, I have an up time of a little north of 2 hours, with an estimated 60 hours remaining. Obviously that isn't realistic, but by this time before I would be seeing an estimated time of about 9 hours remaining and be sub-90% battery life.
22nd September 2013, 10:20 PM |#4  
Senior Member
Flag Valparaiso
Thanks Meter: 32
 
More
Quote:
Originally Posted by burningembers

Oops, I guess I forgot to mention that I also removed Velvet.apk from /system/app (LG's pre-installed Google Search), and reinstalled that from the market as well. Not sure if that is related.

I, too, have the AT&T version. I will run some more tests today. But so far today with 1 hour screen-on, I have an up time of a little north of 2 hours, with an estimated 60 hours remaining. Obviously that isn't realistic, but by this time before I would be seeing an estimated time of about 9 hours remaining and be sub-90% battery life.

I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.

Sent from my LG-D800 using Tapatalk 4
23rd September 2013, 04:50 PM |#5  
Senior Member
Flag (Northeast Georgia)
Thanks Meter: 9
 
More
I don't have a velvet.apk either but I just did what you did aside from that. We'll see how things go.

Sent from my LG-D800 using xda app-developers app
23rd September 2013, 05:04 PM |#6  
OP Senior Member
Thanks Meter: 195
 
More
Quote:
Originally Posted by lastdeadmouse

I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.

Sent from my LG-D800 using Tapatalk 4

Quote:
Originally Posted by zxrax

I don't have a velvet.apk either but I just did what you did aside from that. We'll see how things go.

Sent from my LG-D800 using xda app-developers app

Weird! I wonder why I have/had a Velvet.apk.

Anyway, since my initial post, I've continued monitoring. My runs/wakes are WAY down, trending to about 1-3 per hour, down from a crap ton. My overall wakelock time is roughly 20 seconds per hour, or roughly 8 minutes or so per day, way down from nearly 2 hours/day before. My battery life has gone way up, I'm super happy.
23rd September 2013, 05:15 PM |#7  
Junior Member
Thanks Meter: 0
 
More
will not uninstall
Tried to do the same with the Verizon G2 and when trying to uninstall this i get a message from titanium back saying it will reboot twice for this to complete, but upon first reboot it boots in to team win recovery? how do i get this complete its process because Google services is always the highest on battery usage on my phone.
23rd September 2013, 05:34 PM |#8  
OP Senior Member
Thanks Meter: 195
 
More
Quote:
Originally Posted by kjplaysguitar

Tried to do the same with the Verizon G2 and when trying to uninstall this i get a message from titanium back saying it will reboot twice for this to complete, but upon first reboot it boots in to team win recovery? how do i get this complete its process because Google services is always the highest on battery usage on my phone.

Huh, unfortunately I'm on the AT&T, so it is hard for me to comment.

When I did it via TB, it uninstalled in the same session, no reboot. No notification about rebooting twice.

Any other VZW users out there that can comment?
23rd September 2013, 06:15 PM |#9  
Senior Member
Flag (Northeast Georgia)
Thanks Meter: 9
 
More
After an hour of idle time my time held awake by NLP wakelocks specifically is only three minutes, a far cry from the eight to ten I was seeing earlier. Will continue to monitor.

Sent from my LG-D800 using xda app-developers app
23rd September 2013, 06:18 PM |#10  
Geekybiker's Avatar
Senior Member
Flag Chicagoland
Thanks Meter: 44
 
More
Quote:
Originally Posted by lastdeadmouse

I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.

Sent from my LG-D800 using Tapatalk 4

Do you have google search to uninstall in titanium backup? I'd try that if you can't find the APK. I had it in my /system/apps and did the uninstall in TB.
The Following User Says Thank You to Geekybiker For This Useful Post: [ View ] Gift Geekybiker Ad-Free
23rd September 2013, 06:27 PM |#11  
Senior Member
Flag (Northeast Georgia)
Thanks Meter: 9
 
More
I already uninstalled Google search via TB, should I still see this velvet.apk?

Sent from my LG-D800 using xda app-developers app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes