Originally Posted by GoldElocks
I got this wakelock overnight after completely disabling location services. My N5 was held awake literally the whole night by this wakelock. This morning I turned back on location reporting and the phone is deep sleeping once again. Very strange. Did you have location service disabled because that seems to be what is causing the wakelock?
I would like to find a solution to this so I can keep location services disabled without completely disabling Google Now for overnight when I can't access a charger.
Yeah, I have my location services set to "device only", which I guess is the equivalent to the former GPS only. It could be that the GPS is turning itself off and on continually while it's supposed to be sleeping, and the fact that I'm mainly indoors could explain the hours long wakelock.
I set it to GPS only on the Nexus 5, because that was the most battery friendly on the Nexus 4, but the way services now work, it could be the least battery friendly setting.
XDA needs a "2nd Post Wiki" automatically generated in each thread. Such a thread wiki has proven effective on other sites to cut down on useless thread clutter and questions which have been answered repeatedly. The idea is simple. A community-editable wiki is inserted immediately beneath the OP to address current issues relating to the topic. Most OP/devs don't have the time to continually update their OP to address ongoing issues. Let's let the community do that for them!