yashsingh1/xdaforums huggingface dataset:
[Moto X General] emerica243:
I RSDed, then did a Factory reset from within recovery. Then RSDed again, and started the setup. Are you sure once you choose the location settings once, it sticks to your account? Thus not prompting again? I dont see how anything could still be stuck or leftover after that process.
[Moto X General] jayboyyyy:
trying going to motorola id. connecting it to your google account. then do rsd again. i bet google never recognized it was a new device and thought it must be the old one so it never ran its new set up. It should have recognized it but maybe doing the factory reset or something in the middle tricked google...

I have only done rsd and never once did i get to skip any kind of set up for google.
[Moto X General] ram130:
What the % rate its at in BBS after standby? Mines was 1.5% to 3% now its 0.5%.
[Moto X General] rmead01:
I'll run a test over night tonight since I don't have a standby %
[Moto X General] ram130:
Ok just use partial wakelock screen. You could do one now for 2 hours by settings a custom reference and turning off the screen.
[Moto X General] rmead01:
If I wasn't using my phone for 2 hours :P

picking up my son and he is a games addict in the back seat with this thing haha. NLP wakelock seems to be my biggest so just looking for every bit that helps.

probably shouldn't be complaining though. was home all day yesterday on wifi, not much use but a few texts here and there. was around 80% after 15 hours
[Moto X General] jayboyyyy:
also 2 hours just isn't long enough for me. The percentages can change so drastically if you were just about to lose a percentage right before you started then the phone reported the info all weird. I think a solid 4 hours seems minimal but i prefer at least 6 before attempting to actually compare or diagnose things
[Moto X General] ram130:
Lol. Not bad. It might be the biggest but we won't know how much of an effect it really have until we know that % its using...also if your phone is only loosing 1%/hr you should be fine.

---------- Post added at 03:37 PM ---------- Previous post was at 03:30 PM ----------

Yes forgot about that. I agree. For me I usually wait until I drop a % before putting it to sleep. That way I increase accuracy.
[Moto X General] emerica243:
I told Motorola ID to use my google account, waited a minute in case any syncing was going on, RSDed 3 times, and on the third, continued the setup with the following prompts below.

START > Motorola Privacy > Google Account Yes > Select Wifi > Sign In > Uncheck two options for backup and restore > Skip motorola Migrate and go right to Home screen.

The only thing that seems out of order is when the RSD restore is complete, 9/10 RSD says the current progress is REBOOTING, only once did i see it say PASS within the program. Although i dont see how this would affect anything. The flash of the firmware is obviously successful and complete as it boots right up to the Preparing Device and the start of the setup of android.
[Moto X General] jayboyyyy:
hmm. I don't know what to tell you. I would suggest since you have rsd so many times (ha sorry) to do it again. When you get to moto privacy, click on the privacy because you can uncheck certain moto agreement stuff in there that lets them report all of your stuff to them. Doesn't look like you can when you first see it but if you click on the privacy button then you can uncheck it. Also, I always have done the restore and backup stuff which maybe is the reason I get the next thing that says do you agree to google reporting stuff, then I click no and continue. Then it tried to prompt me a few more times when setting up google stuff at which i always click no. Also, when using maps it always ask me to enable some stuff to make things work but ebcause im using gps i just click cancel and then it works just fine. PITA clicking cancel every time but its better than google recording my life more than they already are.
[Moto X General] emerica243:
Actually ended up turning off the Motorola Privacy toggles first thing. I ended up getting hte reporting information to google dialog after i enabled the Wireless\mobile location checkbox under Location Access, im not gonna worry about it anymore and continue on from here.
[Moto X General] nerdwaller:
So far I've been impressed with the battery. It's not as good as my former Maxx, but definitely a livable battery. I no longer actively think about conservation unless I know I'll be unable to charge the night.
[Moto X General] rmead01:
Read this early this morning. This could also shed some light on why android OS is much higher. If the screen is taking that much less to power it makes sense that other aspects of the battery life would seem inflated, especially comparing to other devices.

Full article if anyone wants to check it out. http://news.cnet.com/8301-1035_3-57607633-94/display-on-moto-x-called-groundbreaking-by-researcher/
[Moto X General] emerica243:
Alright so if anyone is interested, i restored the stock firmware yesterday, and i will basically show you all that ive done and what the results are.

Restored Stock FW 3 times

Start Android Setup > START > Motorola Privacy(uncheck both toggles of reporting to them) > Google Account Yes > Select Wifi > Sign In > Uncheck two options for backup and restore > Skip motorola Migrate and go right to Home screen.

Updated all the apps with updates via Play Store(Maps, google search, play books, chrome, hangouts, etc.)

Enabled mobile\google wireless location service

Enabled Location Access for apps

Rooted

Setup Xposed Framework with MotoXposed module.

Google Maps has Location reporting and history enabled, all this was left defaults

Installed all my apps(Nova, TiBu, Greenify, Quickpic, Android Pro Widgets, XDA, RootExplorer, 5 more apps, none of which use any kind of notifications to use battery)

Greenified Google Search and Google Play Store, not sure if it affects battery life or not, but it doesnt seem to affect any function of them.

Froze the following APKs

att address book

demo mode

dev management

launcher

Migrate stuff

moto connect

moto id

moto skip

moto OTA

my att

visual voicemail

Used the phone the rest of the day while it finished setting itsself up. Charged it to 100%, rebooted the phone, used it a little bit, Charged it back to 100% and rebooted it, pulled it off the charger and slept for the night. Here are the results in the morning.

Ive restored my phone at least 5 times trying different things each time seeing if there's any differences. The only thing ive done differently this time is only installed MotoXposed, i normally install MotoXposed and Gravity Box. One thing i notice is the phone is ALOT snappier without Gravity box. That module definitely lags the phone a bit compared to when its not loaded. Also keep in mind, the idle drain definitely goes up in more realistic conditions. For example, my signal was at full strength the whole night at my house. When at work, the idle drain goes up to 1-1.5% because the signal strength is only 2 bars. This is all all tested forcing the phone to use 4G HSPA not LTE, which makes the battery even worse.

TLDR; Stock reset phone, froze some apps, customized it a little bit, achieve 0.8% idle drain over night with WiFi on with the following configuration above. Main problemmatic wakelock is NLP.
[Moto X General] jayboyyyy:
Nice write up. I think if you froze some more things and didn't set up google location reporting stuff you would be at .5% per hour with full bars. I mean considering google services kept your phone up for an hour last night while it should have been asleep thats pretty good. I'm also glad your qcom_rx_wakelock was so low because that was what was keeping the phone I returned on for about as long as google services which my new phone no longer does. (that might have to do with moto migrate I think though but perhaps its hardware related). I'm not worried about bad drain in poor reception areas. That is just standard withe many phones and from what Ive found Vzw is the worse in my experience because they HATE not having a signal where as my friends with similar phones on other networks lose far less battery (can't speak to the Moto X on this note just phones I have had in the past).
[Moto X General] emerica243:
Jayboyyy, what other APKs do you think are able to be frozen without affecting functionality of the phone\google experience?

Im pretty happy with the phone but cant help but to continuously tinker with things. Over the next few days i plan to report back while i continue to disable\enable parts of google services/settings to see what type of affect it has on the phone and more specifically the NLP Wakelock. My main goal is to get idle drain as low as possible while still having the full functionality of Google Now and the experience of its real time data\predictions being delivered to my phone\location.

The things that i will be changing will be based on other forums and articles that people have claimed to of improved the average battery life of their phones(not only the Moto X).

Test #1

Disabling Remotely Locate This Device under Google Settings > Android Device Manager, which is checked by default.

Unchecking Location Reporting and History from Google Settings > Location Settings

My feelings on this is that this may cripple the Live traffic and commute Google Now cards. Im wondering however, will it affect the Live Weather cards which show based on location as well? Im not sure if disabling the Remotely Locate this Device setting will affect anything, but its not too essential for me so it being disabled is not too big of a loss for myself so we shall see.

Test #2

Keeping the same settings as Test #1 but Re-enabling Location History.

I think having reporting and history both off will definitely cripple Google Now.

Test #3

Completely disabling WiFi and Mobile Network Location under Location Settings in the main settings menu. While leaving Location History and Reporting ENABLED.

I have a feeling that this setting is actually the main culprit that deals with NLP based on the names of the two processes\services that are started\stopped when enabling and disabling it that ive circled below. Im pretty sure disabling this setting will affect more then just Google Now functionality opposed to just disabling Reporting\History. I think with this totally disabled, you wont be able to use Google Maps without actually turning on the GPS chip or any other app that displays information based on your location.

Test #4

Greenifying LocationService while having all the other location settings enabled and seeing what that does or affects

Now ive heard people saying that turning off WiFi/Mobile location did not change anything at all. And even heard people saying that uninstalling Google Search and Google Play Services and reinstalling them from the play store fixed the issue while having all their location stuff enabled. Im not sure how i feel about that, or if ill attempt that scenario if my other tests yield no positive changes. Ive also heard of people of freezing the GoogleManagerLocation service that always is running as shown in the above shot that solves their NLP issue with no other downsides. If things get interesting enough i will go to the extreme and try these options.

Edit: i changed Test1 and Test2 to test the theories quicker.
[Moto X General] jayboyyyy:
check this link for freezing things. I have like 65 things frozen. http://xdaforums.com/showthread.php?t=2432729

I think what we were getting at before was that once you enable location reporting, even disabling it will not do away with the Nlp wakelock but the test you will run should further prove that theory. I don't have any of them enabled and I still get many of the things you described with google now cards. If you enable gps and other things occasionally helps. I get weather. Not sure about the traffic but I'm sure if you use maps once or twice on the way to work it will start realizing what is going on and pop up cards. You can also set cards up and stuff. The location reporting seems more of a scam then anything to me so that they can embed it in the google now services even though it doesn't use it all that much and then put in other things in the terms and services so they can collect massive amounts of data on you to better sell advertisements, email stuff, or whatever. I have all the functionality in the phone from google now, notification, cards, weather (which i just ask google now when I wake up), touchless control, etc. The phone figures out where you are some how lol. Maybe location reporting is them just keeping track but once you start it it automatically detects where you are. IDK, but I have it disabled and just run tasker to start gps when ever I open certain apps that i want them to know exactly where I am.
[Moto X General] emerica243:
Jayboyyy, thats very interesting if you have all that stuff disabled but still get location changes in google now WITHOUT having your GPS chip enabled. So to clarify youre saying you have History, Reporting AND the use of mobile\network location totally unchecked? Although right on googles site it does say that the history does stay present on your account on which google now does base some of its decisions off of your patterns.

Also, judging by the names of the processes\services under Google Services from WLD the one called GCoreUlr-LocationReportingService i would assume comes from Location Reporting being checked. So youre probably right about Location reporting being unchecked would make no difference
[Moto X General] theraffman:
I set up NFC tasks to disable Wi-Fi/BT/GPS/mobile data. Charged my phone to 100% before bed and unplugged. Still at 1%/hr drain. But I had virtual no wake lock time, phone stayed asleep 99% of the time. My reception in my room is 3 bars, in going to try airplane mode tonight, but I can't seem to get any better than .8%/hr drain... Not that I am unhappy with 1%/hr, I'm just trying to see what factors ate playing into standby drain.
[Moto X General] theraffman:
More screen shots that didn't attach to the previous post
[Moto X General] emerica243:
Do you have Google Now enabled\setup? And also what Location options do you have set?
[Moto X General] theraffman:
Google now is enabled, location in both Google and location settings disabled. Maps and everything still works fine for me, at least for how I use it.
[Moto X General] jayboyyyy:
I don't think that it works as perfectly as it does with all that stuff on. But it works good enough for me. I don't use that many cards and I use the same ones so you can just set those up no problem. Also if you use moto assist it can do all of your traffic stuff but it is taking info from your phone constantly as well.

I just personally will increase battery life (though I dont particular care as much about this) and keep google from tracking my life more than they already are. I'm no conspiracy theorist but Im not an idiot either. They really track everything. If you set up enhanced voice controls they even keep recordings of your voice. There is no such thing as a free lunch. I'm just trying to make my lunch as cheap as possible.
[Moto X General] emerica243:
Jayboyyy, i understand all that completely. But what i also know is there's no stopping it, really. We, the public have clear street views of the world, you know the government can look right into our windows and probably hear us talking the technology theyre capable of. Not to mention everything with the NSA, not that we didint already know that they could do what they were found out of. I believe well all be gone before any of our collected data would be used against us lol.

Not to get this thread off topic, but so far, im definately agreeing with you and what googles support site says about the whole Location Reporting \ history. THat doesnt affect your phone or apps being able to detect your phones location for use in apps like maps, facebook etc. All those two options do is allow history to be built from your daily usage and travels. On which google now acts upon. Google now still functions pretty much like normal, just a little dumber.
[Moto X General] jayboyyyy:
It was even a pain to reply to your post. I don't know what computer or browser you are using but you can go click on the edit button right next to your post and it will pop up a screen on the web page to let you edit it from there. It won't even create an edit bar like you have. That is why you will see people say "edit" sometimes because they make the edit in that window which lets you edit the entire post and doesn't create that little edit bar going across the post.

also can you post kernel wakelock if you took the screen shot of it. While you did get your partial wakelocks down you have to remember that 581 times it woke it up is still a ton. When it wakes it up it has to start a kernel wakelock which in turn starts other things to let the service do what it did which then has to turn itself off which starts another kernel wakelock to do so. So while you did get some google services gone. I have virtually no nlpwakelock. The amount you have could be keeping your phone awake for 4 times the amount of partial wakelock time you have. I had partial wakelocks under a minute for one app but it pinged like 2000 times which caused my kernel wakelocks to keep the phone awake forever.

I think some people are thinking if you click on them at the beginning of set up or possibly even ever then google does a lot of checking on your system. Not as much as went you have them checked as your post demonstrates but still some. I use all of google services (not books, magazine, music but the bigger services) and have virtually no nlpwakelock. Also, you have some moto services waking your phone up and Im not running any mobile service. I think if i had the service you had I could get down to .5% or lower during sleep which means I would gain 12% per day of use with all things constant. Which would put it at a two day phone for me since I don't stay on it all day like some people do.

edit: this is what it looks like when I edit something. I don't even know how to get that bar to go across when I edit things. I'm on windows with chrome browser i that helps. Also, try attaching your pics nexts time so you don't have to scroll down through them. They will just appear as thumbnails in your post.
[Moto X General] emerica243:
Using chrome, i used the edit post button like usual, not sure what happened. Anyway, i unfortunately did not take a kernel screen shot. Didn't think it would be relevant. I understand what you're saying about the kernel wakelocks and such. I was mainly concentrating on the NLP issue, since it seemed the be the biggest impact on the phones sleep pattern. Im not too sure what the Motorola Services are, as they are showing as wakeup triggers in WLD, not CPU wakeups. And although Google services\search has high wakeup counts like you said of 500+, if you look at the percentage of the battery it physically used, its a mere 2% in 8 hours. Thats seems super reasonable to me. Im going to continue my testing over the next few days just for the sake of knowledge and learning. I will take screenshots of the kernel wakelocks now for you, and if need be will redo this test again with a kernel screenshot if need be.
[Moto X General] jayboyyyy:
hmmm don't know why when you edit things it does that. But when I click the edit/delete button when viewing the thread it just shows a little window without going to a new screen at all that has save, advanced, and cancel buttons. It shows me the entire post with code and all so you can delete the entire thing if you want to.

I understand it is only 2%. But that is the partial wakelock. Meaning that only took 2% but what other things did for that to do what it did may have taken much more battery percentage. I believe this is how the reporting works but I could be wrong. It could say .001% but if it woke your phone up 3000 times for mere nano seconds the phone still did stuff in the background to allow it to be woken up. It may take the phone however long on the front end to start the things and however long on the back end to start things that wouldn't be recorded under the percentage amount for the partial wakelock. thats why you look at the kernal screen to see how long that stuff ran because it isn't entirely recorded on the partial wakelock screen.
[Moto X General] ram130:
I'd try test 4 if I was you. Only thing needed.

I am stock. With 100+ apps. I don't use Greenify. And I get 0.9%-1%/hr no problem. Wish it was better but I'll blame some apps for now.

Only thing I have disabled is Location Reporting. NLP is now at 0.5%/hr as well. I've found a bug that kept location services enabled even when you disabled everything. I recently fixed that and now when I disable both reporting and history NLP disappears completely.
[Moto X General] jayboyyyy:
so you going to share that bug lol? or did you really want someone to ask about it???

Also, i noticed that the reason when some people turn off location reporting and still have nlpwakelock (which i just checked last night and I don't have a single one) could have to do with google now. I realized I didn't have any location based things for google now even though when i use touchless controls it knows where I am. But when you don't have those cards it won't let you add them unless you go to settings (by clicking on the settings link on the card) which sends you to a place where you can click give google cards location stuff. I searched a lot and found there is no other way to access this particular settings screen. Once it is turned on you cannot go back to turn it off unless a different menu appears after you turn it on that is not on my phone right now since it is off. Just something else to look at.

Also, removing the app may not change the fact that google will still hit you with pings trying to figure stuff out. You already agreed to whatever which might be an entirely different thing running then the app (probably why the partial wakelock shows up as Nlp collector instead of "google now wakelock"
[Moto X General] rmead01:
edit nevermind, wrong terms used
[Moto X General] ram130:
Yea i had found it odd we have 3 apps titled location. Two with the same name. Maybe a bug or missed thought. But clearing network location data fix NLP. So it wouldn't come back when you disable location.

Here with location reporting off and history on with the fix:

And location reporting off along with history off. And a reboot:

With both options on:
[Moto X General] sucram6791:
this phone gets much better battery life than my s4 by 12 hours, definitely impresses and glad i switched
[Moto X General] emerica243:
TEST #5 COMPLETE

Disabling Remotely Locate This Device under Google Settings > Android Device Manager, which is checked by default.

Unchecking Location Reporting and History from Google Settings > Location Settings

Uninstalling Google Play Services

Uninstalling Google Search (Velvet.apk)

Reinstalled Google Search from Market, and then was prompted to install Google Play Services from Market.

We may be on to something here....Given touchless controls still triggers just fine, but google search is never actually opened with your request. Im assuming either because Velvet.apk is not there but instead com.google.android.blah.blah.googlesearch.apk, or Velvet.apk is actually proprietary and hard coded.

Below are the stats from the overnight sleep test.
[Moto X General] phositadc:
Wow quite a change. See if it repeats tonight.

Sent from my Nexus 7
[Moto X General] rmead01:
Now that is awesome. I don't want to lose the touchless control and google search interface but heading into the right direction. Hopefully there is something that can be done for us non rooted users.

So far i've cleared data for network location, turned off history reporting and turned off the remote locator. every little bit helps.