Please mate if you have any info on hat problem, do consider helping me
Please mate if you have any info on hat problem, do consider helping me
Yep... that wakelock would rear it's head quite often. It's Google Now trying to get some info when it can't.. is see it if I blocked the nlp wakelocks and it would be ruthless.
So I blocked it too.
Would you mind sharing your Tasker profile for this please?
Sent from my Nexus 7
Thanks for the tip. I will look into that. I have become less fan of Juice Defender ever since I switched to my N5. I then saw (as you did) the number of wakelocks it causes and the battery drain. Funny when you think it is an app that aims at reducing your battery drain. Might try Wakelock Terminator as well.
By the way, mind sharing your Llama, AI and Tasker settings (in a PM)?
I finally got this sucker for good. My N5 is sleeping like a baby now. Will post a guide tomorrow on what I did
Sent from my Nexus 5 using Tapatalk
I finally got this sucker for good. My N5 is sleeping like a baby now. Will post a guide tomorrow on what I did
Sent from my Nexus 5 using Tapatalk
Great. Just wondering if your method increased EntriesRefresh_wakelock count. Setting to GPS worked for me for several days but since last night, I was getting massive EntriesRefresh_wakelock. This only happened when I was blocking these two wakelocks before. I changed the location with the high accuracy today and it went away. This brought these two wakelocks back, but they were less costly than EntriesRefresh_wakelock. :silly:
Okay boys and girls, here's the solution to these freaking wakelocks that keep raping our N5s battery. I've tried different approaches but nothing seemed to do the trick. I got as frustrated as you guys when turning of location reporting and history didn't help anything.
So what I did was:
1. Download Xposed Framework.
2. Download Wakelock Terminator (https://play.google.com/store/apps/details?id=in.andro.wlt).
3. Install both, reboot the required times and activate the module.
4. Open Wakelock Terminator and scroll down to Google Play Services, hit it and select "Prevent Wake Lock"
5. Hit "Filter Wake Lock" and enter the lines in this image (sorry for the large size):
Hit "OK"
Think you're done? So did I, but guess again, this does not prevent the wakelock.. yet.
6. Go into Location in settings in Android.
7. Disable Location Reporting and Location History.
There this takes care of the NlpWakeLock and other associated wakelocks.
As @msgfromside3 said another wakelock is triggered by this "EntriesRefresh_wakelock". The good news is that the same trick can be used to suppress this wakelock. The only hickup is that in........... [/IMG]
Think you're done? So did I, but guess again, this does not prevent the wakelock.. yet.
6. Go into Location in settings in Android.
7. Disable Location Reporting and Location History.
Is this effectively the same as using app ops to turn off 'keep awake' in the play services?
Except that this makes you unable to use any location service like Maps, Wake or any other app that uses Google's location rather than their own implementation, thus crippling a lot of the phone's functionalities, at least to some.
We must find a way to do all the rest, but leave these on.
No it doesn't, I'm using maps, Google Now with location based cards and so on. I'm not disabling location entirely
"Location entirely" means that even non-google location services will not work. For example, I have Beautiful Widgets. In the settings you can choose to use either Google's location services or the weather provider's location services. If I choose the weather provider location services and turn OFF Location entirely, it won't work. If I turn Location back ON, it starts working again, regardless of whether Location Reporting is ON or OFF. If I choose Google's location provider and I have Location OFF it wont work, if I turn location ON but have Disable Location Reporting on OFF, it wont work either, only way to make it work is to turn on both Location AND "Location Reporting".
Same for all other Google apps like G+ etc, if I have Location ON but Location Reporting OFF, they dont work here. Or better, you might think tha they do if you are at the same location that you were last seen at, but as you move, your location won't update, at least mine doesnt.
I don't have any problems on my end and I drive around a lot. Well, seems like we disagree here, so you do what you want to
As you said: Do you have any ideas on how to achieve the same result without disabling history and reporting?
Sent from my Nexus 5 using Tapatalk
Location Reporting allows Google to periodically store and use your device's most recent location data, as well as activities like driving, walking, and biking, in connection with your Google Account. Location Reporting is a per-device setting.
...
Location History and Location Reporting data may be used by any Google app or service.
...
Important: This setting only controls Google apps; if you turn this setting off, Google services that aren't apps and non-Google apps may receive your location from the device.
Location Reporting updates
To stop Location Reporting, open Google Settings in your device’s apps menu:
Devices running Android 4.4: Touch Location > Location services > Google Location Reporting > Location Reporting.
The Location Reporting update frequency isn't a fixed amount of time. The update frequency is determined by several factors, such as how much battery life your device has, if you are moving, or how fast you are moving. Location Reporting will only use cell ID or Wi-Fi location detection depending on your device.
https://support.google.com/gmm/answer/3118687?hl=en
No, sadly I gave up and it's up to Google to fix this ****. Personally I think that they can't and that is why they hid the battery stats, hoping that we'd not figure this mess out.
https://support.google.com/gmm/answer/3118687?hl=en
There isn't much to disagree with tbh.
You drive around a lot, you are using Maps as a navigator and you say that it still works so you are inferring that that setting isn't stopping your gapps location service functionalities, is that it?
From that same page:
So I'm pretty sure that what is happening here is that you are getting GPS data to properly navigate with Maps even with Location Reporting turned OFF.
No, sadly I gave up and it's up to Google to fix this ****. Personally I think that they can't and that is why they hid the battery stats, hoping that we'd not figure this mess out.
Broadcast intent action when the configured location providers change. For use with isProviderEnabled(String). If you're interacting with the LOCATION_MODE API, use MODE_CHANGED_ACTION instead.
found this and it's about wakelocks so yeah http://xdaforums.com/showthread.php?t=1827676 thought it might help us understand and have a unified answer on how to maximize our battery lives