yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Results from experiment #1 (WiFi) night# 2

BBS log:

http://pastebin.com/HXjhUFZN

Battery Drain Log:

Time in ms;Battery Percent;Drain Value; Taken in account

1393241744719;95;-0.8122465114012335;true

1393237312567;96;-0.40982407504698465;true

1393228528310;97;-0.8517625569911961;true

1393224301780;98;-1.4287755393627661;true

1393221782140;99;-1.5705675638533876;false

1393219489975;100;31.328320802005013;false
[Moto G Q&A, Help & Troubleshooting] snowboard:
I don't think so.

I just set my wifi sleep policy to only when charging.

And I'l get a screenshot later to show that even when my battery lasts long the wifi activity is the same.
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
I see, very strage. Are you running better battery stats? Do you have root? Will be interested in looking at more screenshots/data.
[Moto G Q&A, Help & Troubleshooting] snowboard:
Not running better battery stats. No root. Will supply more screenshots in the future
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Just noticed an interesting trend in one of the screenshots I posted on the motorola forums. I annotated the screenshot.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
That is interesting. Let's hope Motorola reply to the forum soon, I'm starting to wonder if they know there is a problem but are keeping quiet about it.

I've had GPS on all day but only used it on the train this morning and had no battery drain. I'm now disappointed the drain doesn't happen when I use GPS every time as maybe its an intermittent fault which makes it harder to diagnose and fix.
[Moto G Q&A, Help & Troubleshooting] snowboard:
"Battery voltage" at 100 % with the charger connected is 4334mV
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
So I guess it could be an intermittent problem but my initial reason for it not being the battery was

1. I had the problem in December then not again until Feb. That would make it very intermittent in my case (then again whatever caused it was very intermittent, however my GPS use in the previous two months has maybe been almost zero)

2. The drain happens at any point in the discharge cycle, its not always at the same percentage when it starts to drain.

3. My drain happens (or was happening) as soon as I used GPS.

However I admit that is not conclusive evidence so I will grab some battery stats as you suggest.

---------- Post added at 05:23 PM ---------- Previous post was at 05:13 PM ----------

If WiFi only stays AWAKE only when charging (which is what you have said your policy is set to) then why can we see it awake all the time until you reboot. Looks to me like your WiFi is constantly being activated and deactivated rapidly. I would guess this is a bad app causing some issue especially as after you reboot the WiFi behaves itself.
[Moto G Q&A, Help & Troubleshooting] snowboard:
I don't know exactly how the wifi policy is being manifested.

I can see a period of time in the beginning of the graph that wifi is off but the battery drain is steady.

So it is complicated
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
I see what you mean, could very potentially be the same issue as described throughout this thread.
[Moto G Q&A, Help & Troubleshooting] rogeriorp:
I believe the idle drain is active on my phone aswell. I've set Location off by default, rebooted, Wifi always-on, widgets on manual refresh rate, disabled most Google stuff, except Play Music. Got no weird apps other than Whatsapp, Facebook (not messenger), Talon. No battery saver apps and such.

I just tested it out for 6 minutes idle, drained from 25% to 23% and the phone was 95% of the time on deep sleep according to CPU Spy. Ideas?

EDIT: I might add that by disabling wifi for the night drained 2% for over 8h.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Looks OK to me. When WiFi is off the the drain is very low. When WiFi is on you have a lot of awake and screen on time. That's whats causing the drain. It doesn't look like the same issue. Set airplane mode and leave overnight and see what happens. If you lose 15% then its the same issue.
[Moto G Q&A, Help & Troubleshooting] rogeriorp:
Will do it tonight when its fully charged and leave a feedback by the morning. But I believe there ain't any drains that could explain that sudden idle drains on wifi in a short duration with screen off, not sure if its related to the battery sensor or whatever. Thanks anyway!
[Moto G Q&A, Help & Troubleshooting] allen chen:
turn off the allow Google to use WiFi to scan option

That option lets Google apps to use WiFi even if it is off, thats why WiFi is always on shown in battery usage.
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
True, but with this unchecked you'll also get a solid Wifi bar if just using Sleep Policy to 'control' Wifi, rather than actually disabling/enabling it (or using an automation type app to do it for you).

Wifi Sleep Policy as far as I know doesn't enable/disable Wifi at all, but just puts it into a low power / sleep mode.

Some devices have 2 Wifi bars on the battery screen - Wifi and Wifi running. On those devices the Wifi bar is always on if Wifi is enabled, the Wifi running bar shows the impact of Wifi Sleep Policy. If you check your router the device will still show as connected whether Wifi is 'running' or not.

I'm guessing the Moto G bar is a simple 'Wifi enabled' bar.

Watching the outcome of this thread and the experiments with interest. Not sure if the bug affects me though, I've only ever used airplane mode on a plane ;)
[Moto G Q&A, Help & Troubleshooting] snowboard:
Here you can see that for 16 hours battery droped just 13%.

For the last 7 hours I was sleeping so the phone was untouched and stil the wifi seems to be on-off constantly.

I think that is false since during that time I got emails and tweets and was not notified until this morning when I pushed the lock button.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Does seem strange but maybe post above yours is correct, ie using 'sleep policy' doesn't actually burn off WiFi but just puts it into low power mode. I will have to test myself.

It does look like GPS was used, or at least started itself a few times and you had no large battery drain so in this particular case you didn't have the drain issue.
[Moto G Q&A, Help & Troubleshooting] rogeriorp:
Well it drained from 87 to 83% in around 5h30 on airplane mode, 99% deepsleep. I had better results by just disabling the Wifi.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Tested myself, with WiFi set to only on during sleep if plugged in then I so see the WiFi line showing it starting/stopping rapidly. So maybe that's normal as another poster said, seems weird though.

---------- Post added at 02:46 PM ---------- Previous post was at 02:44 PM ----------

Could maybe be the 'drain' issue, didn't drain as fast as mine but sound similar especially if there are no wakelocks or anything weird in battery screen.
[Moto G Q&A, Help & Troubleshooting] rogeriorp:
May I add that my phone keeps jumping from 96 to 100% when changing? And the 100% never lasts as long as it lasted on 4.3. Not sure if related tho, but it makes sudden jumps going down also, as it did just now from 94 to 91% and I believe the drain I had yesterday was the same issue.
[Moto G Q&A, Help & Troubleshooting] hotpokets:
That's how the battery technology works, it keeps dropping and charging again so its life doesn't get wasted.

[MENTION=225651]op[/MENTION] I am start to wonder if this may be related to the some sort of calibration. If we do get a 2%/h battery drain, like some of us say here, maybe we should see how long the battery lasts. It doesn't matter if we drop very fast to 10%, for example, if when the battery gets there, it takes a whole other day to shutdown.

Do you see what I mean?
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Results from experiment #1 (WiFi) night# 3

BBS Log:

http://pastebin.com/g8sL7AUD

Battery Drain Log:

Time in ms;Battery Percent;Drain Value; Taken in account

1393327739577;95;-0.31925274991903396;true

1393316463245;96;-0.477094115163363;true

1393308917564;97;-7.681917406584684;true

1393307980298;99;-5.974072525240456;false

1393307377694;100;90.82927124648036;false
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
I really don't think this is the case. We experience normal battery then at other times a drain. I personally experience the drain after using GPS and it stops after a reboot, this isn't a battery calibration issue.

I never see this 'battery jump' at all. I really think blaming the battery in some way is confusing the issue.

Many people have now noticed issues after GPS is used. OP even saw the drain when GPS kicked in when he looked at an old battery screen shot.
[Moto G Q&A, Help & Troubleshooting] insanezz:
Hey guys i am also expierencing a weird drain : if i go to sleep and turn on airplane mode at around 93%, and i wake up 7 hours later it suddenly dropped to 88%.. I have all apps closed when i go to sleep and location services off. Anyone else had this problem or does anyone know a solution?

Thanks.

Verstuurd vanaf mijn XT1032 met Tapatalk
[Moto G Q&A, Help & Troubleshooting] hotpokets:
Something interesting happened tonight, but I won't take it as victory though, I woke up at 5 am, so I unplugged the charger and left the phone there, I had wifi and sync on. When I woke up, 2 hours later, the phone still had 100% battery. It had never happened to me, since every hour it used to drop like 3% even if I don't use. I'm gonna test with 3G now.

The only thing I did was unticking Google Play Services' "show notification" box. Have you guys tried that?
[Moto G Q&A, Help & Troubleshooting] fubag:
im going to try this, ive been having extremely poor battery life lately...for instance last night left wifi and 3g on with 57% battery, woke up with 9% left...only 34 mins of screen on time :crying:
[Moto G Q&A, Help & Troubleshooting] pete007:
Yes I did, and it stopped the drain immediately but couple hours later the drain was back. I think the problem is somewhere with the wifi, still testing some settings.

Did anyone tried to re-flash the kitkat?
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Results from experiment #2 (GPS) night# 2

Summary: Constant drain 1.5-2%/hr when location services were on but were not in use, also even after location services were switched off and phone put in airplane mode.

As you can see, the drain was constant all night long. Then, in the morning, I switched off location services and put the phone in airplane mode. The drain persisted. See below:

BBS Log:

http://pastebin.com/TCQMUDtR

Battery Drain Log:

Time in ms;Battery Percent;Drain Value; Taken in account

1393531186613;75;-1.548417066136764;true

1393528861658;76;-1.934330552374955;true

1393527000549;77;-1.5009506020479637;true

1393524602069;78;-1.7138074803888057;true

1393522501483;79;-2.205859375239351;true

1393520869466;80;-1.385704761743463;true

1393518271510;81;-1.5756688714359246;true

1393515986766;82;-1.9101801459059269;true

1393514102127;83;-1.5833132853618728;true

1393511828414;84;-2.046626704385239;true

1393510069422;85;-1.6471253544751023;true

1393507883796;86;-2.7936775971889394;true

1393506595172;87;-7.191470915494224;true

1393506094579;88;-5.26118879483702;true

1393505410323;89;-3.2668350901646486;true

1393504308339;90;-6.994243349154571;true

1393503793630;91;-2.0189353705138977;true

1393502010512;92;-2.1052557710323825;true

1393500300506;93;-1.901972345322099;true

1393498407734;94;-1.8506361818908053;true

1393496462457;95;-1.7408073284120065;true

1393494394451;96;-1.4283129719384111;true

1393491873995;97;-1.929245975646485;true

1393490007981;98;-1.7941528558428084;true

1393488001463;99;-0.6739679865206403;false

1393482659963;100;74.66891595252993;false
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
I have updated the first post in this thread with the status of my experiments. Please see that post for reference.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Was a little confused by the results, sorry. Are you saying the drain happens when any type of location is used and not just GPS.

Very interesting.

I have actually had a few days of sometimes drain and sometimes not when using GPS so have to concede that either its an intermittent GPS issue OR it's not related to just GPS but maybe GPS with some location weirdness thrown in, at least in my case. I appreciate your case may vary.

I've just updated to the latest KitKat level. That small 9MB update. I've had no drain since then but I'm pretty sure that just coincidence.
[Moto G Q&A, Help & Troubleshooting] fubag:
ya the latest 9mb update fixed my issues too, lol weird
[Moto G Q&A, Help & Troubleshooting] insanezz:
Anyone :(?

Verstuurd vanaf mijn XT1032 met Tapatalk
[Moto G Q&A, Help & Troubleshooting] fgl27:
My is the dual XT1033 dual...

yes me too, i did the same test 5% 8 h of airplane mode all off no app runing...

if i let the phone on normal and dont use it for the same time i have 10 12% of drain...

I have a old 2012 phone a Samsung Y 6102B it is dual too, have used much more than the Moto g... and the Y 6102B on airplane mode all off makes 24 h and only drains 3,5% max 4% of battery...

Way moto G that have a way better hard and soft don't? must be a android or app problem...

...............

following the topic to see if we can find a solution...:fingers-crossed: :fingers-crossed: :fingers-crossed:
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Doesn't sound like the same drain as being tracked in this thread. The drain this thread is about drops battery at least 1.5% per hour.

You may just have a wakelock, root and install wakelock detector app and see what it says in the morning.
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Sorry, my description was vague. I only tested with high accuracy mode.
[Moto G Q&A, Help & Troubleshooting] insanezz:
Could be .. but i still find it weird that it drops from, for example : 92 to 88. And then if i check the graph it drains in the first hour of the airplane mode and the next 6-7 hours it just stays steady on 88% ...
[Moto G Q&A, Help & Troubleshooting] fubag:
fu*& issue is back was all good until I turned 3G on battery started draining as crazy

if I look in GSam radio pops up as the highest usage, so is this a radio bug now not related to wifi or gps?

i.e. battery goes haywire from 95 to 85 to 73 within hours.
[Moto G Q&A, Help & Troubleshooting] if0rg0t:
One thing you could try is to not use GPS for several days on end, and see if the problem goes away . If this problem typically occurs multiple times a day or everyday, that should provide some confidence and that it is indeed something related to the GPS.
[Moto G Q&A, Help & Troubleshooting] lacksnc:
In my case, the main reason of the battery draining is the screen. It's not turning off when it should be. I'm using the GSam Battery Monitor to obtain details of the battery usage. In my case, the screen is draining about 60% of the charge but at least half of this usage occur when the screen is "off".

After read some replies, I think that this Android version have some kind of problem with the Wake/Sleep mechanism. I don't know how to explain that but I'd like to share this with you, guys. Maybe it can be useful.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
You probably have an app waking your screen, use wakelock detector.

Its not the same issue as this thread is about though so best to make a new thread and discuss there.

Thanks.
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
You are misunderstanding what GSAM is telling you. The Screen Detail Dialogue is just telling you the split of the total drain between screen on and screen off time.

E.g. my phone is at 40% charge, and GSAM is monitoring since it was unplugged at 100%. It says 'Discharge Whilst On/Off 20%/40%'. This tells me that of the 60% total discharge, 20% happened during screen on time, and 40% whilst the screen was off.

I'm not concerned - it's been 41 hours since I've unplugged with a screen on time of 4 hours. So I've lost 40% in 37 hours of screen off time or just over 1% per hour, whilst the screen on discharge is 5% per hour. Pretty good I think although the screen on usage is admittedly quite light (reading + messing with an automation app mainly) - wifi or mobile data always on, auto sync on, auto brightness, location on in battery saver mode, not used GPS ;).
[Moto G Q&A, Help & Troubleshooting] snowboard:
Drain again.

Rebooted and it stopped.

The draining was occuring from the moment I unplugged the charger.

Before plugging the charger there was no drain.
[Moto G Q&A, Help & Troubleshooting] hotpokets:
I didn't use airplane mode, but I did turn off location/wifi/data/sync, so I could spare some of the battery. 20% went off in 4 hours, and I didn't use the phone at all. I am really unsatisfied with moto g's battery, with the same usage my former Razr I would last like 8 hours, at least.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
That isn't normal. I would lose maybe 1% in that time with same usage assuming the weird drain in this thread wasn't hapenning. Have you checked for wakelocks.
[Moto G Q&A, Help & Troubleshooting] hotpokets:
No wakelocks, the phone wasn't active. I was in a really poor signal area and I use two sims... but, still, it isn't realiable at all.
[Moto G Q&A, Help & Troubleshooting] lacksnc:
You told me that your cell phone was unplugged 41 hours ago with 4 hours with the screen on. I also observed this with the Android 4.3. Here, I reached 1 day and 16 hours unplugged with almost 4 hours of screen on. The problem is that is not occurring with Android 4.4.2 with the same apps installed. Here, after 13 hours unplugged with 2 hours of screen on (Only two email accounts syncing per hour + Whatsapp), I have to recharge (~5% of battery).

About the GSam, well, I understood what these data means. The problem is that the screen is using to much battery while off. In the 4.3 it was never so high. I've noticed a 4~5% discharge per hour. Maybe it's linked with the cell phone temperature. Here, even with the screen off, it's higher (~30ºC. It's almost the same temperature with the screen on!) than in the old android version (~24ºC).

I think I'll make a downgrade. Too much headache with kitkat.

I've already installed this app but everything seems normal.

I will try a downgrade soon to see if I can solve this issue. If not, I'll open the thread and post there.

Thanks for the tip, by the way.
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
My results are with KitKat. For what it's worth other than the first 3-4 days after the initial Kitkat OTA, where battery life was shocking I've been getting reasonable performance all the time I've had the phone. The recent minor OTA to build 176.44.1 seems to have improved things a little more.

My stats from the last two days - http://xdaforums.com/showpost.php?p=50747896&postcount=440
[Moto G Q&A, Help & Troubleshooting] snowboard:
Any news ?

I got some propably related.

A friend of mine got motorola support for a problem relating low perfomance and they told him amongst others that the device is not being charged correctly and that he should deactivate the device once a day and charge it only after it has depleted to 0%.
[Moto G Q&A, Help & Troubleshooting] miklosbard:
that's the dumbest thing I heard lately. if your friend starts doing this, his battery will wear 3 times faster at least then it would normally. don't let it discharge daily! probably monthly for calibration.

and yes, obviously, If you restart the phone it cleans up the mess, but that's not a proper solution.

support is not always the best, don't trust them with technical information unless they communicate with the development team prior their answer. and even then take it with a grain of salt :)

Sent from my phone
[Moto G Q&A, Help & Troubleshooting] snowboard:
Google Working On Nexus 5 Battery Drain Fix; Affects All Android Devices With KitKat,

Is this related ???

Google Working On Nexus 5 Battery Drain Fix; Affects All Android Devices With KitKat, Qualcomm Chips

Google (NASDAQ:GOOG) said that it has identified a problem with the LG Nexus 5 that is causing poor battery life and that the company is working on a fix. The battery drain issue affects the Nexus 5 as well as the Samsung Galaxy Note 3 and other Android 4.4 (KitKat) devices using a Qualcomm chip.

The Nexus 5 battery life issue is caused by a software* process within Android 4.4.2 (KitKat) that gives apps access to the Nexus 5’s camera. When a user opens an app like Snapchat or Skype on the Nexus 5, a process (mm-qcamera-daemon) then opens to allow access to the Android device’s camera.

The process continues to run even after camera apps are closed, which forces the processor to do unnecessary work and drains the battery. This can cause the Nexus 5 to run warmer than normal. A Google employee told members of a forum dedicated to the issue that a fix is on the way.

“We believe we have fixes for the current high CPU reports on [the Nexus 5] due to mm-qcamera-daemon, and they will be included in the next maintenance update,” a Google project manager wrote.

The project member went on to explain that bugs in the "mm-qcamera-daemon" process may have increased in frequency on the Nexus 5 due to a recent update to the Skype Android app and suggested users uninstall it in the meantime. Since the process is heavily customized for every Android smartphone, the company said that affected users of other devices should contact their manufacturers directly.

Google said that it can't provide a timeline for when the update would be released “due to all the testing we need to do for this and other fixes.” But a quick reboot of the Nexus 5 will fix the problem temporarily.

http://www.ibtimes.com/google-worki...android-devices-kitkat-qualcomm-chips-1559771
[Moto G Q&A, Help & Troubleshooting] xgt001:
ok cant tell its completely fixed, but I got a 20 hr battery time with 4.5 hr SOT, one thing that I think MIGHT have helped was removing skype. not sure though
[Moto G Q&A, Help & Troubleshooting] Wizzie86:
Dear all,

This workaround helps you get rid of the drain:

Step 1. Disable location and reboot.

Step 2. Use your phone normally: you won't have a drain.

If you want to use location again, the drain will start. Regardless of whether you turn location off after you've used it. You will need to perform step 1 again in order to get rid of the drain.

By the way, I've got the same problem with my Nexus 7 (stock 4.4.2) and this guy seems to have found the same solution: http://www.modaco.com/topic/368845-battery-drain-by-location-service-under-kitkat/
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
If you are getting a drain ALL the time when using location its likely you do not have the same issue as this thread is about. I can use location without issues, its only when I use GPS that sometimes I have the drain.

If you get the drain all the time you probably have a wakelock, basically an app, using your location all the time.

Its not a kitkat issue in itself. Maybe if you use location reporting you do get a drain but just location you will not unlesd , as above. You have a bad app.
[Moto G Q&A, Help & Troubleshooting] elfio:
Hello there, this is my first post around here :)

I had heavy battery draining a couple of days ago and they went away after wipe data and cache. Now I have reinstalled everything I had, I looking to solve an issue that also have before wipes related to battery draining. In BetterBatteryStats shows a wakelock called bam_dmux_wakelock that wakes my phone one time per two seconds. It only appears when phone is using mobile network for the internet (I mean, the way I could make a call and surf the internet only if I'm using wifi).

Some possible useful screenshots: *well I cannot post urls :p

I've been writing a thread on reddit the last days about that and I think it could be related with that tricky problem you say.

The post it's on the MotoG subreddit and it's called "Any solution to idle battery draining?" (I would post the url, but I'm not still able)

Thank you in advance.

P.d.: sorry for my english, maybe there is some glitch in the post :)