yashsingh1/xdaforums huggingface dataset:
[Moto X General] jco23:
looks like the poor battery life has hit my phone over the past 2 days - draining almost as bad my old Droid Charge...
[Moto X General] chaoslimits:
Turned off Google Play Services? Doesn't freezing the app break play store?
[Moto X General] yasser_fernandez:
After some reading

Hello everyone!

I have read so many post related to Moto X battery life, wich is good under pressure, but less than average idling.

Seems to be some services running background that can be freezed just via apps running just under rooted device.

I have read almost 60 pages on this thread.

Is there anything we can do to reduce that acceptable for some 1% per hour idle drain (with most know drainners off) the most?

I would be glad know how....

Best regards!
[Moto X General] chaoslimits:
Moto X still going strong with WhatsApp, Viber, Exchange etc hammering the battery :D
[Moto X General] Hitesh1802:
http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

Follow this thread...
[Moto X General] jco23:
Good stuff - although I don't think the 4.4.4 update came with a new radio though.

I'm told that lollipop will improve battery life with ART. I probably will be reluctant to go to lollipop since xposed does not currently on ART.

But for others when reporting your battery life stats, folks need to give more disclosure. For example, my phone is rooted, boot loader unlocked, all services (WiFi, mobile data, Bluetooth, active display, location reporting, android device manager, and moto 360 watch paired).

Normally I get 3 hours on screen time per day.

However, over the past 3 days, been getting bad battery drain. So not sure why - think it could be related to cold weather on the cell towers.
[Moto X General] hachamacha:
Just wanted to mention that just before I updated to 4.4.4, I wrote down the radio from 4.4.2 (*_2323.031.111.00R), and when I booted up, I first off checked the new version (which I don't have handy right now) but which was "newer" (possibly not the newest, but newer than what was on 4.4.2). OK, Turns out they supplied an usused OTA 4.4.3 baseband with 4.4.4. I just found I wrote it down (*_2323.038.123.00R). I know results vary with these things. My xt1060 has always had great cell reception where I'm at mostly, but had noticeably worse reception after the update. I lived with it for awhile realizing that it could just be the state of the cells but 1/2 way through the day I couldn't get a signal and I back-tracked, grabbed the 4.4.2 radio and flashed it. It was fine after the next boot.

I know that a bad baseband (or maybe there is also other factors with a radio) will drain battery, but I didn't mean that was my battery problem. It really wasn't. I still haven't had my phone on long enough using 4.4.4 to say one way or the other whether I have a battery problem ;) - Maybe in a couple days. Also: My phone is much like yours in terms of setup (unlocked, rooted, all services enabled). I even have Xposed on because I wanted to try to kill a couple of wakelocks or spoof them to see if they really made a difference for me (they didn't).

So far so good and I'll report back with some screens when this thing gets down to 10% or so (could be a day or two). I'm not a maniacal smartphone user, mostly calls and texts. Truth is I like my million year old flip-phone better but I work on smartphones and am stuck with them. I only really hate the huge ones that are ubiquitous these days.

Re the radio/baseband: I just grabbed it out of a 4.4.2 SBF.
[Moto X General] seishuku:
Root and unlocked boot loader shouldn't have any impact on battery life...

Though I have both, root was only recent because I needed some custom usb serial drivers, to remove unneeded system apps, and the unlocked boot loader was one of the first things I did to the phone after setting it up. lol

I do leave WiFi and Bluetooth off normally, but that should be a no brainer for those that want long on time... However, even with WiFi on, I still on average get 3+ days battery life.
[Moto X General] colox188:
hi, i read a lot of this thread and i cant make my phone last more than 3 sot, 3:30 tops. im using epsilon 3.1, disabled wake up from google play services and other stuff from privacy, greenifyed some apps, almost all time gps off and i still get 3 hours of sot. can somebody tell me what to try? im out of ideas. thanks in advice
[Moto X General] :
Could just be your usage. But without useful screen shots, like gsam, we wouldn't know if you have an actual issue. ?
[Moto X General] hachamacha:
Here are some screen grabs the day after I switched to 4.4.4: It appears to be nearly the same as 4.4.2 (which was good for me). Of course, since 4.4.4 was new to me on the xt1060, I used it more than usual:

Normally with my "low usage" patterns, I put it on a charger every 2-4 days. On the first overnight cpuspy showed 97% idle, but then I started trying messing with all the GUI apps ;).. Oh yeah: I meant to mention that I have all services, all wakelocks, all options "enabled" for the period in the pics, which is normally what I do. I can't really do the dev and testing I do with anything disabled. Also: CPUSPY does show plenty of stuff in the higher CPU ranges but I forgot to screenie the part that had scrolled off the screen.
[Moto X General] jco23:
had some really bad battery draining issues over the past few days, and I think I may have found a possible culprit: Google Fit app. I set it to track my steps, thus the phone will always be awake despite other stats stating that it is in sleep mode. I disabled the tracking for that app for today, and getting back to normal results.

the odd thing is that I've had the app enabled over the past 2 weeks (even since I got the Moto 360 watch). but I think the app updated last week - which could cause the issue. I'll have to report these finds on the app page.

ideally, I'd like to have my activity tracked on my watch, and then synced to my phone to help remedy this issue.

but just thought I'd mention that Google Fit is another battery draining suspect (currently).
[Moto X General] biggiestuff:
I installed it the 1st day it was available and it always drained battery. Betterybatterystats always showed it as a partial wakelock for me needing location data. I removed it and my battery has been much better or back to the norm before installing it.
[Moto X General] ssoares01:
also can confirm that the fit app is draining the crap out of my battery too. Been dealing with it, but probably going to have to uninstall it :(
[Moto X General] VDGone:
My XT-1052 stock no root .
[Moto X General] jco23:
Doesn't count if the phone is off or on airplane for most of that time. I too can get several of battery life if I do that.
[Moto X General] :
My record on my X was 7hours 44 minutes of screen time. And always got around 6 on average. With using it. Lol

Nothing extreme... Tapatalk, browsing, texts mostly. My screen shots are way back in the thread somewhere. My gsam average times backup my numbers. Oh... With 24 to 30 hour total.

?

Most services off, except active and touchless, debloated, greenified and non-cpu heavy activities.

So, 4 and half hours is very reasonable. ?
[Moto X General] VDGone:
The phone is not in airplane mod or off. Wi-fi was on 14 hours and there is nothing disabled. Just a normal use (text, browsing, games)...

Sorry for my english.
[Moto X General] jco23:
not that I'm trying to call you out, but I noticed on the first screenie there is a huge gap in the blue line - usually indicates that the phone is in airplane mode (or both wifi and mobile data were turned off).
[Moto X General] yasser_fernandez:
Idle drain

I beleive, that having in mind that the moto X has some revolutionary features, and furthermore considering its battery size, we all should agree that battery last avererage plus, under pressure. We must also consider that the moto X is a lightning fast smartphone, that has a cost, of course.

Now in the other hand is IDLE STANDBY, wich is not even average by far. And I mean IDLE, cause we usually don't let the device idling while keeping sync and other stuff underground.

Of course if idling drainage is not OK the overall battery drain will be affected.

That is the goal!

REDUCE IDLE BATTERY DRAIN!
[Moto X General] chaoslimits:
No one knows why idle drain is so low for some and high for others. I have a majority of services disabled on my X 2013 and still experience relatively higher idle drain on my device even in airplane mode...
[Moto X General] eeshlikhith:
I have a noob question. Are there any special files in the kernel or something that activate the two cores that moto added? I know they are supposed to be low power cores but what if they are responsible for idle drain since they keep running all the time? What if disabling touchless control doesn't really turn the cores off but just deactivate them software wise?
[Moto X General] yasser_fernandez:
My opinion

Giving my opinion about last two post.

You are right my friend, there are different kind of idle drains, in my mind this is because each one have read or study with a different deepness that topic. For example if you hit a good post you maybe turn off an important drainer, and maybe you read two pages with just comments but not any important update to that knowledge base its been raised here. Anyway 1% per hour, that seems to be the best unrooted rate....is STILL too much by FAR.

About disconnecting cores:

In my unrooted condition I have tested some apks and scripts that are supposed to disable cores while idling, and still having not the best drain while idle.

Cores in deep sleep mode should drain almost none battery.

I have even send private message to posters that has reduced dramatically their drain in order to go straight to the cause.

There is no other solution than freezing specific services JUST by being ROOT.
[Moto X General] eeshlikhith:
I've managed less than that unrooted :) Sucks the battery is so inconsistent.

How can you disable cores while being unrooted? Isn't that something kernel level which would require root?

Also, how are we so sure they do disable the cores completely? My question is, what if the cores never deep sleep? What if thats a problem with the X8 thingy...
[Moto X General] yasser_fernandez:
My thoughts

There is a post on XDA (I have done the best to remember any tips and there is no way I can remember), developed by a poster that assures to put to sleep multicores. I have read that Moto X has two main cores, but some other MicroChips to sum eight for GPU, Voice, active display and so...

My post are based on some post achiving almost 8-9 hours with 1% drain just by freezing Google related services. There are some saying that a system app called velvet.apk was the only reason of idle drain.

After (and being root user) freezing some services they posted their results with very very good results.

So? Are those services impacting so deep on those "cores" that by making them freeze suddenly stops the drainage?

I don't think so....

---------- Post added at 12:59 PM ---------- Previous post was at 12:52 PM ----------

I am sorry....

Reading deeply I notice the terminal must be rooted.

Anyway maybe rooted fellows should try it and report results.
[Moto X General] chaoslimits:
Velvet.apk is Google Search. It is one of the first apps frozen on my phones. Has not brought me to sub 1% drain so far. Maybe I have a lemon lol.
[Moto X General] yasser_fernandez:
??

Is not the same to froze (ROOT) and app than to disable (UNROOT) an app.

I have disabled it to with no success.

I hope, or beleive that maybe rooting and frozzing should make the diference.
[Moto X General] eeshlikhith:
When I got to sub 1% drain, my setup was stock unrooted.

Disabled location, Google Now

Disabled twist gesture from camera settings

Disabled Moto Voice and Display

Do that battery calibration thingy.

Profit.

Can't replicate anymore :/
[Moto X General] yasser_fernandez:
We agree...that's my similar config while testing idle...asumming you mean calibration thingy....discharge until turn off and charge a couple of hours after full

Anyway 1%, 0.9% or 0.5%

My father iPhone 4 wich is still doing 0% after 8 hours idle, my wife G2 is almost 0% is better than that.....my old Galaxy S2 lost just 1 or 2% overnight!

There is something wrong here....
[Moto X General] hachamacha:
Maybe a page back I had a reply about how I was thinking that the observable idle drain does not match the measurable idle drain unless you use only android/linux/system level routines, like "ps" or "top" from a terminal emulator or adb. Now after running 4.4.4 a few days, I think this is likely the case and that all the GUI apps from the play store are not playing with a full deck in 4.4.4 on the moto x.

The reason is simple: Every GUI based app from the store that I've found shows the same ~30% of the "System process" (which is using a lot of location wakelocks, etc) to be fairly constant. If I ignore all the pretty GUI apps and just use terminal emulator and "top" then there is virtually no CPU usage shown. To make this more interesting: The 'awake' time during any overnight period judged by looking at a) battery used and b) CPUSPY, matches what top tells me, about 1-3%/night.

There's a few scenarios I can think of off the top of my head that'd explain it: The API used by the CPU measuring apps (battery measuring apps too) has had one of the following things occur:

a) It's been changed or the structures and/or data passed back and forth have changed organization so that there is a metrics flaw.

b) The lowest system level calls (possibly used by "top" and "ps") still work the same way because they show the right amounts.

c) Maybe it's not a) but it's that the API is mis-documented so that no one is using it exactly right.

d) and about 200 other things I don't want to bore you with.

Anyway: It appears that since my phone shows all the same problems everyone has if I stare at some GUI app-store metrics app, yet loses battery at an insignificant rate, that there might be something to this idea ^^. I know for sure that if my phone is only draining a point or two overnight, that those apps claiming 30% background usage are just wrong. I also did all the testing above with both the screen on and the screen off, so that 'sleep' wouldn't be a factor.

Since the phone seems to work equally well on 4.4.4 as it did on 4.4.2 , I'm going to see if I can figure out how a GUI app could possibly show the wrong amount of CPU. If I ever figure that out before we're all on some L version experiencing a new set of problems, then I'll check back in. One other that struck me is the "NULL process" which exists on nearly every MPU on the planet. The Null process is what happens when nothing else is in a ready-to-run state at a higher priority (Null process is lowest priority). Almost all API's for measuring CPU ignore the Null process because it doesn't matter unless you're working on it. I've seen Null processes do very useful things like calculate a checksum of the /system partition to make sure nothing has gotten corrupted, but I've also seen Null processes do nothing of interest. I'm not sure what if anything this problem has to do with it, but it feels like there's a relationship between the types of things I'm seeing here and the occasional system change that allows the null process to suddenly become visible. Sorry for the war-and-peace reply here ;)
[Moto X General] yasser_fernandez:
Agree

For the record.

I am the most pleasent Moto X user maybe just consern because the way the Operating System reads power consumption is different than other terminals.

You are right, maybe typing some commands through a terminal give us another reading, maybe using another governor forces the null to be really null...

But after somedays of happy using, and being sure that at almost 10 PM I charged the Moto to 100% ....when I slide down my two finger to see HOW MUCH HAS IT TAKEN!!!!

I want to see just a little amount...

Can you guys help me out with this???

JUST KIDDING

Keep searching for an interesting thing to share for the posting
[Moto X General] St.Noigel:
ROM: GPE (GSM edition)

KERNEL: zwliew_Kernel - r4

Xposed + Greenify + Amplify
[Moto X General] Xin_TiGeR:
hello ppl!! i had a Moto X than i trade that for a BQ to have a dual sim option, but my love for the moto x was stronger and i came back to it again :D

this was just to say that i find odd that the most thing right now consuming my battery is the wifi... when i had the bq it did not display that.. and my locations didnt change... why does the wifi drains so much battery in Moto X??? i had exactly the same settings options in BQ either

also, does 4G networks drains more battery than the 3G or is equal?

thank you in advance
[Moto X General] eeshlikhith:
Heh. Its the radios :|

I know I can't get decent battery from the moto X when I have the radios on. So I'm going full airplane mode with WiFi just so I can see my moto X last more than a day and feel satisfied :good: I only use whatsapp and messenger (facebook) on my phone with occasional 2048 and lots of reddit on chrome so airplane mode should be fine.

So far It has been 14hrs with 1 hour SOT and I'm at 72%. Not great but okay..
[Moto X General] cmr_noob:
I get about 5-6 hours of screen time on stock Rom
[Moto X General] Ciebiada:
I will not give you answers but to just assure you that you are not the only one with the "issue".

Wifi is the highest drainer for me also. When I'm using the phone a lot it doesn't show because the screen takes the majority of battery drain percentage. However, when I'm not using the phone much wifi is like 17% and screen 28%. Had some other android phones and wifi was never that high in the list.
[Moto X General] jco23:
update on this. I uninstalled the fit app, re-installed it. then, I cleared out my cache partition via stock recovery. seems to get better battery life now. been very long since i have wiped my cache (been used to wiping every time I flash on prior devices, plus I think with my last setup each time my phone re-booted, it auto-wiped due to the whole write-protection ordeal).
[Moto X General] St.Noigel:
[MENTION=2658922]hachamacha[/MENTION] you said about customized kernel... What dis you customize??
[Moto X General] hachamacha:
It wasn't me that customized it. It's by a guy named 'iKrYpToNiTe' and is 4.4.4 based, patched to 3.4.90, compiled via Linaro 4.7 toolchain and uses I think the ROW I/O scheduler. Also has Futex kernel vulnerability patched. The commits page at his github is here:

https://github.com/iKrYpToNiTe/kernel-msm/commits/kitkat-mr3-rel-ghost

I can't recall if I mentioned ^^ there after my initial testing of 4.4.4 stock, that I switched to the Krypton ROM (basically a stock 4.4.4 ROM with some cleanup with the kernel above), which seems to be really good on low power consumption and very smooth. I still not convinced there isn't an API problem (or internals with 4.4.4 problem). In any case, I'm happy with the battery life with my current setup.
[Moto X General] zed011:
My sot is roughly 2h30 consistently. If I left my phone on a black screen I'm sure I can get 6h+ sot as well ;)
[Moto X General] :
Thats well below average times for an X. Maybe Troubleshooting will help? Or maybe it's just your usage.

But many get to 6 hours actually using their phone. With a lean setup aimed at maximizing battery life, and usage that's low on CPU load.

You shouldn't assume. ?
[Moto X General] jco23:
Mine is awful now. Coworker got the Sony xperia. He gets some made battery life. Very jealous. I'm going to try disabling voice activation to see if it makes a noticeable difference.
[Moto X General] zed011:
It's not my usage. I even have a spare new moto x that is not even logged into a google account with locations disabled. I did a factory reset. I cannot achieve that screen time browsing on chrome using wifi with no sim card; 6 hours SOT is not realistic, I can see a xperia z3 compact achieving that but not a moto x. My Moto G consistently achieves 4h30 SOT and I can stretch to 5 hours if I try with the same apps installed. I am not going to disable moto voice. My best ever SOT on the Moto X is about 4 hours. 2h30 SOT is pretty normal to me which is sad.
[Moto X General] chaoslimits:
Depends on how strong your signal is. I moved from an area with incredible signal to one with OK signal and any from 4+ to just about 2.5 hours SOT. From my experience even strong Wi-Fi doesn't fix this.
[Moto X General] :
Well, my screens are wayyyyy back in the thread... But my gsam average times at the bottom backup my statement. ?

---------- Post added at 09:20 AM ---------- Previous post was at 09:12 AM ----------

Here's some of mine... From awhile back. 5 1/2 hours SOT average at bottom. Collected over several weeks. Not a fluke. ?

http://xdaforums.com/showthread.php?p=50525565
[Moto X General] zed011:
What do you actually use on your phone if you don't mind me asking? Did you even install any apps from the playstore? Is that SOT with the stock kernel? Do you have any accounts on the phone? Do you even receive any email or messages at all? If not, you're an outlier and really nobody should be ripping their hairs out trying to achieve your results.

---------- Post added at 10:20 PM ---------- Previous post was at 10:10 PM ----------

My signal is pretty good where I live , -89dBm or so. Green and full bars, on canada's biggest network. I will try to do more test with wifi off cellular on etc.
[Moto X General] :
I still have the phone. My wife has it now... Nothing has changed at all in its setup.... But 2 single apps have brought the phone from 5 and half hours of screen time... Usually at worst.... To now about a 4 hour average. Facebook and it's Messenger. That's it. She's on Facebook often and it's eliminated near 2hours of screen time compared to me.

For me, my usage is CPU easy.... Mostly Tapatalk or XDA app, some browser, texts.... And in average day those are my big 3. Don't usually game or navigate.

The rest of my setup is in the battery life help thread in my signature. Posts 1 and 2 explain.

I had tops in N5 battery life and now my M8. My average is 8 hours screen time on my M8, with 22 hours total life.

It's not trickery. I use toggles for services... Only on when I need them... And I'll stop there. Post 2 in the thread in my signature has my setup.

Lean and clean .

But everyone has different setup needs/wants and different usage. Social apps are usually terrible on battery life.. Especially Facebook.

?

---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------

Oh, and my held awake time is always as low as can be. Bad wakelocks or poor signal will wreck a battery too.

---------- Post added at 04:33 PM ---------- Previous post was at 04:32 PM ----------

read way back in the thread... I wasn't the only one with well over 5 hours SOT... Many others got that as well.
[Moto X General] Po0yAn:
well I can say it well worked for me. Thumbs up!
[Moto X General] jco23:
Anyone showing a bump? I promise it has been off charger.
[Moto X General] Johnny Wong:
My wife's Moto X does that a lot.
[Moto X General] Johnny Wong:
This was mostly on wifi for data so cell data would have definitely drained the battery faster. The phone is a 2013 Moto X DE running stock 4.4.2 w/ Amplify and Greenify. Greenified Facebook app by cutting locationservice which was a big drain. Phone has everything running, NFC, Touchless, and whatever else Moto software there are such as Motorola Connect. GPS is on high accuracy. The kernel is zwliew_Kernel-r7, reboot the phone once during this period to upgrade from r6 to r7. What else? Yeah, definitely can't touch my Droid Maxx but still very respectable I think.
[Moto X General] St.Noigel:
It`s veeeeryyy impressive "battery life" on last screenshot ))))))

UPD - I found it!! Now I`ll have 6h SOT too with this wallpaper )))))))))))))
[Moto X General] zed011:
Stock android after a factory wipe on a moto x with a new battery, left my phone on the gallery till the last straw. Location off, no accounts. 7h51m SOT on airplane and 6h54m with wifi and cellular on. Now I've got to test my worn in moto x sometime after a factory reset to see if I can reach the same.