Please mate if you have any info on hat problem, do consider helping menope, we're talking about different wakelocks here
Please mate if you have any info on hat problem, do consider helping menope, we're talking about different wakelocks here
i haven't encountered it, but i bet the guys in the better battery stats thread would be happy to take a look at your log file if you were to submit one to themPlease mate if you have any info on hat problem, do consider helping me![]()
Yup. It is a known issue with blocking these two wakelocks in this subject. Weird thing is that I haven't noticed this until now but it seems that wakelock triggers for a short period time with the same setting that I have been using - I hadn't seen it at all for three days and it is now up for 1+ hr out of 4+ hrs since unplugged. I am going to check around a bit longer.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
Step by step profile setup: http://www.reddit.com/r/Android/comments/1u8alp/guide_to_fixing_google_play_services_battery_drain/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)?
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: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
what a teaseI 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
It did, but got this one under control too, same goes for the AudioIn wakelock.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:
Yeah I know, especially since these wakelocks are just a PITAwhat a tease![]()
Is this effectively the same as using app ops to turn off 'keep awake' in the play services?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]
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.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.
Nope, I've also tries the App Ops, but they didn't help me.Is this effectively the same as using app ops to turn off 'keep awake' in the play services?
No it doesn't, I'm using maps, Google Now with location based cards and so on. I'm not disabling location entirelyExcept 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.
"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".No it doesn't, I'm using maps, Google Now with location based cards and so on. I'm not disabling location entirely![]()
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"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.
https://support.google.com/gmm/answer/3118687?hl=enI 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
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?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.
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.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.
This is what I've done.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.
Sounds plausible, all I know is that everything is working as it should. And finally I'm not suffering from wakelocks, which I think cripple the device more than some of the services not working from disabling the two location options. If that were the case.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.