yashsingh1/xdaforums huggingface dataset:
[Moto X General] rmead01:
something else happened. I never turn my wifi off and am connected maybe 50% of the time. never have this problem.
[Moto X General] phositadc:
I agree. Leaving WiFi on, even when not connected to a network, should NOT do that to your battery life.

Sent from my XT1053
[Moto X General] stastnysnipes26:
Not sure what you guys expect as far as battery life from this phone. I am totally satisfied with 1%/ hr. idle batt. drain. Are you guys all coming from 3G phones? I am also guessing none of you are coming from a Galaxy Nexus. Even if you aren't using the phone it is still connected to a very high speed network which will absolutely drain your battery a little bit even if you aren't using it. I'm averaging about 16 hrs of battery with around 1.5 hrs. of screen on time.
[Moto X General] Kev1000000:
To add another point to the fact that the additional processors are not causing the idle drain, by putting the device in Airplane Mode, Android OS usage becomes non-existent. Something is constantly pinging the network, keeping the device awake, and I will continue to search for the cause.
[Moto X General] phositadc:
Hate to break it to you broji, but that's pretty bad.

Heck, that's bad for a Gnexus.

Sent from my XT1053
[Moto X General] clcrawl:
I am currently at 1d 3h with about 2 hours of screen on time and sitting at 25%. I do have the device knocked down to 3G however. The reason, inside my house I'm right on the fringe of 4G / 3G, if I leave it it "auto detect" it is constantly switching back and forth which can destroy any phones battery. I simply enable 4G if I want to watch a video or download something and I don't have access to wifi. I have had a few weird things causing a lot of wakelocks but overall, I'm satisfied with it so far.
[Moto X General] stastnysnipes26:
Are you kidding? My nexus would be dead no matter how much I use it after 16 hours. My dads s4 gets about the same as my moto x. If you guys wanted better battery life you should have gone with a droid maxx. And that 16 hours with 1.5 hrs screen on with around 40-50% battery left...once again not sure what super phone you guys are coming from that got much better battery life...
[Moto X General] ram130:
Don't need to.
[Moto X General] stastnysnipes26:
Thank you lol. No idea how these people are all killing their batteries so fast...

Sent from my XT1060 now Free
[Moto X General] phositadc:
oh, 40-50% left? Good thing you left that key detail out of your original post, in which you simply said:

I stand by my original comment that 16 hours battery with 1.5 hours screen on would be pretty terrible battery life if that were killing your phone.

If you still have 40-50% left then it's not terrible.

Sent from my XT1053
[Moto X General] stastnysnipes26:
I guess I should have included that lol. Kind of a major detail...

Sent from my XT1060 now Free
[Moto X General] phositadc:
Haha it does change the landscape a bit :P

Sent from my XT1053
[Moto X General] Kev1000000:
I am making some progress. Google Play Services is going CRAZY while the screen is off. I am analyzing these TX/RX calls to/from Google Play Services.
[Moto X General] ram130:
clear data on Play Services and make sure location reporting is off.
[Moto X General] Kev1000000:
I have done this multiple times. I am wondering if this is the bug... that Google Play Services still tries to access location information even though I specifically have this turned off.
[Moto X General] ram130:
Funny thing is I think I fixed my NLP wake lock issue. Just trying to track how I did it.
[Moto X General] Kev1000000:
Well, the interesting thing in my case is, I never had the NLP issue. However, according to my network stats, com.google.android.gms is pinging google nearly every second.

I have all location reporting turned off. Google Now is also disabled.

Something is fishy, here.
[Moto X General] rmead01:
would love to know how you may have done this. I have google now on but location services off. nlpwakelock is a high running thing on my device.
[Moto X General] izbrian:
Really no one else has the bug that causes your screen on and battery on time to reset?
[Moto X General] Hardcore73:
Battery life has been amazing for me. It was my biggest concern. Love this phone.
[Moto X General] murso74:
Only 3 hours with 20 hrs on time? What's wrong with that? Anyway a lot of services got linked together in android os for 4.2.2 so that's pretty normal
[Moto X General] Bobaroo:
I would be pretty dissapointed with that.

With my VZW GNex and the Samsung 2100 mah extended battery (which should have been the stock battery, but thats another story) I get the following screen times:

With Wifi - 3hours

Just 4G - 2hours

Granted my overall battery is usually 6-8 hours but I do use it heavily. I would expect and hope the Moto X can get in the 5 - 6 hour screen time range
[Moto X General] _MetalHead_:
I'm right there with you, I can't seem to get more than 3 hrs screen time no matter what I do. I think I'm going to exchange mine for a new one.
[Moto X General] iandr0idos:
I can easily get my Moto X to last over 5 hours of screen on time. You guys probably just have faulty units. Or you use really intensive apps.
[Moto X General] dpw2atox:
On my Verizon Moto X from my first charge, I am currently at 3hrs 24min off the charger, 43min of talk time, 53min of screen usage and I am at 65% battery life. I should note that I haven't use Wifi at all, I am at work and this building is known to just destroy every verizon phone's battery life due to the poor signal and constant data switching.

So far my X is doing better than my Bionic with an extended battery was fairing here.
[Moto X General] Hardcore73:
20 hours with 3 hours on screen is good depending on what those 3 hours are.
[Moto X General] Hardcore73:
Yesterday I had 15 hours on with 4.5 hours on screen time. Wifi, gps, and some blue tooth. Mostly YouTube videos and such.
[Moto X General] chaoslimits:
Would you mind posting more stats? I'm in a similar situation (weak signal) and am waiting on the Moto X Dev edition.
[Moto X General] showstopper03:
first day with full charge.

Voice calls seem to take up TONS of battery. Seems odd that voice calls would use that much battery.

69% battery

3h 46m on battery

voice calls 45m 36%

screen on time 1h 41m 36%
[Moto X General] rman18:
Yesterday was my first day with it... Charged it to 94% before taking it off the charger (had to go... ) and 11 hours later I had 20% left.

This was with 4 hours of screen time (3h 58min) and using 70% wifi/30% 4g.

Pretty intensive apps accounted for about an hour including Waze (GPS usually kills batteries) and some games.

If this was my gnex I wouldn't get more then 2h screen time with the same type of usage.

Edit: Verizon
[Moto X General] krypticos:
This is my second full charge. Light use mainly texting and web browsing and a few photos.
[Moto X General] dpw2atox:
Today I am in a location with solid 4g and I spent maybe an hour on wifi. I listened to over an hour of music, I have spent 1.5 hrs making phone calls, im at almost 2hrs screen usage and after 9.5hrs off the charger i am still at 55% battery life. I'm really loving this phone!
[Moto X General] Psilocin:
My battery isn't as good as it can be right now. I'm using it on Tmo in Chicago suburbs where they haven't fully refarmed to 4G and LTE, so I'm at 3 or less bars most of the time.
[Moto X General] plasticmoz:
Only off 1 full charge so far but overnight standby has been quite a bit worse than my previous phone (HTC One Google Play Edition).

My bedroom has horrible coverage (barely a signal), but the phone is on WiFi the whole night so it shouldn't be too bad. Lost ~20% overnight whereas the One would lose 3-4% at best over the same period. Battery life during the day was certainly fine given it's only been through one cycle.
[Moto X General] wera750:
This is from yesterday. This is my third charge on the device. Battery life is getting better with every charge so far.

Sent from my moto X
[Moto X General] showstopper03:
are you using any "battery saving" app? if so what?

Thanks
[Moto X General] wera750:
Nope
[Moto X General] phositadc:
I also saw bad idle drain on my X compared to other recent phones. Was your "android os" usage unusually high in battery stats?

-Sent from my Droid Mini.-
[Moto X General] stastnysnipes26:
One small tip that I found useful on my GNex is to open Maps and let it lock onto your location. As I posted a while ago I am easily getting a full day out of a single charge even with all location services turned on.
[Moto X General] iandr0idos:
The 10 minutes of charging was just me waking up and going "OH **** FORGOT TO CHARGE MY PHONE!"

That Android OS Usage though...
[Moto X General] stastnysnipes26:
Once again, I don't understand how some people are getting such "horrible" battery life...this phone is great

Sent from my XT1060 now Free
[Moto X General] ram130:
Battery life with heavy and normal usage is good. Its just the stand by is a bit high. Imagine if Android OS wasn't so high and but more like 36min CPU usage like my nexus 7? He'd be at 2 days already. That's all we trying to say. If you don't touch your phone it will go dead by Day 3 because of stand by drainage. Compare that to an iPhone that will hit upto a week with everything on. I know its different. But trust me when I say something is up from all my days with Android usage.
[Moto X General] Kev1000000:
Alright guys, I have determined that, at least with my phone, Google Play Services is the cause for high Android OS usage. I froze it with Titanium Backup, and the kernel/Android OS usage has dropped from the charts. I have also looked at the network calls and those have stopped as well.

I would like for others who have high Android OS use to do the same to see if it's a universal problem, or just a unique problem with my device.

My current theory is that, during initial setup, if you choose to use wifi as a location service, no amount of disabling that actually disables the feature. I had it completely disabled in settings, but I logged the network calls from my phone and saw it (com.google.android.gms) contacting Google every second. This is what holds the kernel wakelock, causing Android OS to be high on the charts, and our > 2% idle drain.

Since freezing Google Play Services with Titanium Backup, my idle drain has dropped to < 1% an hour, and Android OS is at 2%.
[Moto X General] ram130:
Finally. :) now its my job to find a solution for the stock guys with no root. Great job man! I was on to that theory as well. But I didn't have the power of root to test it all. But you did.

This plus the NLP fix I got gonna mean about 0.5% or less per hour.

I'll report the good news to G+. Moto guys that didn't believe me gonna go insane.
[Moto X General] bso44:
FYI, freezing Google Play Services breaks GCM push notifications. So unless you want to totally gimp your phone, this is not recommended.
[Moto X General] phositadc:
Folks please go post here: https://forums.motorola.com/posts/afdf80c0dc. Moto allegedly has its engineers looking at this. Your input may help.

Sent from my XT1053
[Moto X General] ram130:
What's your drain like now? Is the phone lasting longer? Still getting notifications from all your apps?
[Moto X General] Kev1000000:
So today was round 2 of Android OS debugging. I was getting better idle drain today, but not by much, which brought up some new questions.

Android Kernel, according to Gsam battery monitor, was still keeping my phone awake today. Looking deeper, I found that the temperature sensor held a wakelock that was the same value as my "kernel keep awake" time. This can be found using Gsam battery monitor, clicking on "App Usage", then using the filter at the top to sort by "Sensor keep awake time."

I am not sure if this refers to temperature of the battery, or the barometer sensor in the phone, but something is holding a temperature wakelock.

My investigation continues, but this doesn't currently seem to be only Google Play Services related. Google Play Services may have been sending that data because the phone was being held awake anyway by this temperature wakelock.

Too early to tell yet on my end, but I feel I am getting closer. If anyone else who is rooted can help bring additional info, it would be much appreciated.
[Moto X General] phermey:
i have been following that thread since you started it. i know matt said he would forward it... but later on he was saying there is nothing there. as if he didnt think there was enough to forward it. i hope he does/did... because there are some definite issues.

seems to me like his consensus is as long as we are getting a day out of it... why does anything need to be fixed.
[Moto X General] phositadc:
Well the more people who post, the more likely Motorola is to at least investigate. I'm convinced it's an issue, personally. Android OS and idle drain should simply not be as high as they are, even if drain while the phone is being used is actually good.

Sent from my XT1053
[Moto X General] phermey:
im reading through it again now. gonna go ahead and put my two cents in.

-needa
[Moto X General] FSXv13:
I've been lurking but I will chime in just to help.

On my first night I had over 26 hours off the first battery with a little over 3 hours of screen on time.

Yesterday I uninstalled Facebook and put it into airplane mode with wifi on for the night around midnight. You can see when I went to sleep as there is a sure steady declining slope... I also only had an hour and 34 minutes of screen on and less than 20 hours...

Android OS was my number 1 battery drain.
[Moto X General] Kev1000000:
I've finally managed to tame Android OS! I still need to figure out which component is the problem, but I froze these apps with Titanium Backup, and I no longer get bad idle drain, and my phone finally feels cool to the touch after being in my pocket.

com.motorola.thermalservice

com.qualcomm.privinit

com.qualcomm.qualcomsettings

LocationServices 1.0

ModemStatsService

Motorola Notification

Network Location

I will begin to re-enable these to see which one is the cause of the idle drain, but one of these seems to be the culprit.

Even with all of this disabled, Touchless Controls and Active notifications still work flawlessly, so I have pretty much ruled out that they are the cause of the battery drain.

I've also attached a screenshot of Gsam battery monitor, noting the temperate wakelock. It's still there, but MUCH more controlled. Yesterday, without these disabled, that temperature wakelock was over 2 hours. Today is 9 minutes.

It would really help if other rooted folks who have high Android OS use could use Gsam and post their results.
[Moto X General] Aarongauntt:
Just froze all these. I avg 1% idle drain after fully charged and not touching it, will report back.
[Moto X General] :
Not bad for an early KK build...

Sent from my Moto X.
[Moto X General] MVPete1:
Very jealous.
[Moto X General] bso44:
Wait...you've got Kit Kat on your Moto X? How?
[Moto X General] :
:D No it was a joke. I'm running the latest TMO build. Themed of course.

Sent from my Moto X.
[Moto X General] sh0ebox:
So my phone did a lot better this time around. Left it unplugged overnight and had about 10% idle drain over ~8 hours which seems a little high, but overall the battery life was great.
[Moto X General] jayboyyyy:
why do you suggest three times exactly?

---------- Post added at 03:28 PM ---------- Previous post was at 03:18 PM ----------

yes i have a rooted device but I don't think it needs to be rooted to erase it. I did use adb to erase it with root permissions but I'm not sure it is required. I think you can just adb shell rf- /data/dalvik-cache and be good to go. Perhaps you will need to do it in fastboot. I can check the commands a little bit later and see if you can if you would like. Let me know.
[Moto X General] MajorTankz:
Is there any way to delete or rename those apks using adb without root?
[Moto X General] jayboyyyy:
no
[Moto X General] emerica243:
Network location and location services apk bothers me of being disabled. They seem like they're needed. Anyone know specifically what they do?
[Moto X General] ram130:
Thanks. I believe I know which process it is.

I'm gonna post this on G+ and keep them updated on the progress ok? Also someone from Motorola added me. Haven't made contact yet though.

Facebook drain is minor. You may have the NLP wake lock issue as well as Android OS. Use wake lock detector to verify. Look in the location process.

Some times there is a bug that causes certain things not to clear properly. This is just to make sure. 2 times is fine as well.
[Moto X General] Kev1000000:
I am not saying this is a final solution, I am only trying to determine which part of this ROM is causing the idle drain. If I can narrow down the actual service, I can relay this info to Motorola in hopes they fix the bug.
[Moto X General] Aersaud:
Google services is raping my battery. Gonna try and delete the account and re add and see what happens.
[Moto X General] Kev1000000:
Yes, that is the bug I ran into. A few questions...

Did you choose to enable location reporting during setup? Did you check the Wifi location reporting box as well?

Are you rooted?
[Moto X General] Aersaud:
Yes to all three questions.

Don't tell me I have to hard reset -___- lol

Also media server bug is present.
[Moto X General] Kev1000000:
This is good news! We can try and determine if the same fix on my end works on your end. If it does, we may find the culprit.

Do you have TitaniumBackup? If so, please freeze Google Play Services. You WILL lose out on a few features of your device, notably location services, but it will help determine if Google Play Services is the sole problem or if there is something else at play here.

Once we determine if it is or isn't, you can re-enable.
[Moto X General] Aersaud:
Freezing it now :) let's find this bug!

Update:

Ok so I froze Google play services AND Google services framework

Let's see what happens
[Moto X General] Kev1000000:
Awesome. Give it about 2 hours and report back.
[Moto X General] Aersaud:
Here is my update. Battery life is a lot better. Didn't lose too much more. Media server is killing me now. Not sure why when there is like nothing on the phone.
[Moto X General] phositadc:
Did you test your idle drain before rooting? Or before installing exposed? Curious if either of those things would make any difference.

Edit: I'm assuming exposed is what you are using for the battery mod?

Sent from my Nexus 7
[Moto X General] jayboyyyy:
no i did not but there are others that are rooted with xposed installed and they are getting .5% per hour so I doubt that is the cause. But as we can see certain things can be enabled for some that cause problems and enabled for others that doesn't cause problems. There are also others not rooted that aren't getting good idle drain so I haven't even looked into those aspects yet. I feel like there are bigger things to tackle other than that. Could be wrong though.
[Moto X General] ram130:
You knows what's funny? I'm getting the same 1%/hr sometimes 0.9% being stock and all things including location enabled. Fixing NLP had helped getting it down from 1.5%/hr.
[Moto X General] jayboyyyy:
how did you fix it? i sometimes had it and sometimes didnt after resets so I was thinking it might be the check box during set up that is clicked by default agreeing to googles terms and uses or whatever.
[Moto X General] ram130:
Cleared data of something. I don't remember because I did other stuff during that period. I'm trying to track it down with other ppl experiencing the issue.
[Moto X General] rmead01:
I'm experiencing the issue. It's not taking a dramatic toll on me but the NLP is the biggest of all my wake locks. I cleared google play services but that was it so far. I'm stock/updated/unrooted BTW.
[Moto X General] emerica243:
Ill share what ive done and what ive observed. My idle drain has always been about 1-2%/hr. Sometimes ive seen it as low as 0.8%. I have done a full RSD stock flash to try to see if that would change anything but its all pretty random. On average i usually get 1-1.2% drain as of now. Ive experimented with turning off the Location Reporting within google maps, and leaving Location history on, as i believe this has to do with functionality of Google Now and its directions, and traffic times of your location, etc. Nothing has drastically changed while disabling that setting or leaving it on. My main problem seems to come from the Google Services and Motorola Services and google search.

My constants on my phone are as follows.

Root

Xposed framework for visual enhancements

Freezing the Launcher, MyATT, Visual VoiceMail, MotoCare and Motorola Migrate APK

Things ive experimented with which i believe is what got me down to my little bit better 0.8%-1.5% average.

Greenifying Google Search and Google Play Store.(although if you look at my one screen shot Greenify has a high wakeup trigger count. Dont know if its helping or hurting)

Freezing the following additional APKS, Motorola Connect, Motorola ID, Motorola Skip, Motorola OTA, Demo Mode, Device Management.

Disabling Location Reporting, but keeping Location History enabled. I really didnt want to disable either as i believe these provide the best experience for Google Now functionality.

I think im going to reflash to stock again tonight and go through the setup but uncheck the Google now reporting during setup and keep everything else the same EXCEPT not bothering with Greenify and also keeping both reporting options enabled in google maps and see what happens. If anyone else thinks trying anything else would be beneficial let me know.
[Moto X General] Aersaud:
Greenify is probably waking up to hibernate those apps. Or else they would be running.
[Moto X General] emerica243:
That makes sense, either way, restoring to stock firmware now. Will list all my constants and what not this time around to let everyone else know my results.
[Moto X General] jayboyyyy:
It also doesn't look like those are stats from the phone being in idle constantly. To ddiagnose you need to run BBS or whatever you use while you are asleep after you have charged the phone to 100%. Otherwise there could be many things that look like they are wrong but really you were just using those services and there is no way for us to know that.

also, just based on personal preference. Uploading those pictures so i don't have to scroll down half the page to get past those huge screen shots would be nice. but thats just me
[Moto X General] emerica243:
Sorry about the pics, was in a rush. As far as properly displaying stats, i know this wasnt from a controlled state, as it was screenshots from my phone mid day, not after a fresh full charge and phone put to sleep. But the results are the same, just on a smaller scale. Ill report back tomorrow morning after my first night of the phone sleeping. Although this first time around will probably have alot of placebo since i just restored stock and the phone itsself will probably be going through its first process of things.

---------- Post added at 07:53 PM ---------- Previous post was at 07:44 PM ----------

Oddly enough, i cant get the initial android setup to ask me about the location stuff. It just asks me if i want to use motorola Migrate, i choose no, and it then asks me to go straight to the home screen.

---------- Post added at 07:56 PM ---------- Previous post was at 07:53 PM ----------

Oddly enough, i cant get the initial android setup to ask me about the location stuff. I start with the START button, logging into my google account, It then asks me if i want to use motorola Migrate, i choose no, and it then asks me to go straight to the home screen.
[Moto X General] jayboyyyy:
I bet factory reset left something. I never had that problem flashing with RSDlite. If you starting fresh I would run that three times. Sometimes things get weird so some people do it a couple times to make sure its a clean install. Clearly something was left over after you factory reset because thats not usual.