yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] Hamster81:
The GPS drain I experienced was rather extreme (more than 5% per hour).

With device only mode battery consumption is about 0.8% or less for me. If I choose to use high accuracy mode with google location services enabled then battery drain increases to 1.5-2% per hour.
[Moto G Q&A, Help & Troubleshooting] Hamster81:
I got the latest update (4.4.3) and it seems the battery drain returned. I will report back next week.
[Moto G Q&A, Help & Troubleshooting] Nandeh:
These are really bad news dude... I had hope that it will be fixed in 4.4.3... We must press more in Motorola forums
[Moto G Q&A, Help & Troubleshooting] insanezz:
The most things on the moto forums just get ignored. Unless they know a solution they will respond if they don't know how to solve the issue they just give you crap like ''were working on it''.

While in reality they just don't know how to solve the issue, in a similar thread over at the moto forums a forum mod replied that they can't reproduce this issue and don't know what a solution is but ''they are still investigating''

There has also been an issue with cracking / buzzing sounds during calls over at the moto forums (i too have the issue) and moto just claims that it's a hardware issue and you need to replace it. Many people did replace it and the issue returned. And still the only thing they are giving us is ''we're investigating'' or they just don't respond which is the case now.

Sorry for the off topic part i just wished they just came out and said ''hey guys well yeah we f*cked up and we don't know what the issue is it's probarly software related or hardware but we can't find it'' instead they keep alot of customers waiting for an update or fix that just never comes.

Soz for the rant, I just felt like saying it.

Let's hope for a they'll figure it out somehow.. soon...
[Moto G Q&A, Help & Troubleshooting] Nandeh:
Yes, I read the Motorola forums and have seen what are you saying. That's the reason IMHO we must press a little more to force them fix the issues...

Edit to point main thread in Motorola forums where people is reporting the issue:

https://forums.motorola.com/posts/5a07d40ff2?page=7
[Moto G Q&A, Help & Troubleshooting] Hamster81:
I used google maps and navigation for 5-10 minutes today and I haven't noticed any battery drain. Average battery drain is about 0.5% per hour.
[Moto G Q&A, Help & Troubleshooting] eemgee:
I've given up trying to flash the stock US version and getting the update, it fails every time.

Best I managed was changing to UK retail from tesco.
[Moto G Q&A, Help & Troubleshooting] fubag:
i heard that 4.4.3 in general had bad battery and that 4.4.4 was set out to correct this, whether this is true or not i have no idea, but ive noticed extremely ****ty battery overall even with GPS/data off, its been sucking more juice on 4.4.3 for me too
[Moto G Q&A, Help & Troubleshooting] Nandeh:
Somebody has checked if draining is still present in last 4.4.4 GPE version?
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Does anyone know if the problem affects the moto G 4G
[Moto G Q&A, Help & Troubleshooting] cuddagh:
This is such a chronic problem that has yet to be acknowledged by Motorola. Maybe we should try and compare our use cases to see if we all have a common app or usage pattern? Has everyone tried safe mode to see if the battery drain still occurs?
[Moto G Q&A, Help & Troubleshooting] Nandeh:
It's not an App related issue, it looks related with drivers, system or even hardware. The problem is that although we have a lot of proofs that it is present, Motorola doesn't assume its responsibility and doesn't give any solution to fix it...
[Moto G Q&A, Help & Troubleshooting] Narkoa:
I'm currently performing a battery drain test on a MotoG 4G/LTE. Results within 2-3 days...

http://xdaforums.com/showthread.php?p=54097671

Edit : Test finished
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Hi, easiest test is just to use gps then switch to airplane mode overnight. If you lose ~1.5% per hour then its the GPS bug. Try for a few nights though as the bug doesn't always happen.
[Moto G Q&A, Help & Troubleshooting] Nandeh:
You can check too if bug is present controlling the instant drainage using Current Widget. If it is higher than 25 mA in Airplane Mode and Screen Off, bug is present...
[Moto G Q&A, Help & Troubleshooting] juliatan:
Not finished yet with killing Moto-bloatware. But my idle battery drain was about 5-6 % a nights sleep of 8 hours. Way too much in my dictionary. After disabling a lot of Motorola's bloatware now 2-3 percent in 8 hours. Most of Google's bloat already always disabled on all present and past devices. Wifi is set to go off when screen goes off (will finish downloads and keep on streaming music), no airplane mode. 3/4G only manual on/off. Only manual sync. Active screen on time 7,5 -8,5 hours with brightness 25-50% indoors and 50-75 % outdoors. Use Greenify Pro with Xposed for also hibernating system apps.

On a sitenote. My Moto G 4G is much faster and more resonsive than my Nexus 7 2013 on Google stock Android. Both exactly the same setup concerning apps, mods and settings. But the N7-13 has 1 Gb more Ram and better CPU (S4 Pro modified with according to AnandTech and Ars Technica Snapdragon 600). Better GPU. Wonder how that is possible. Better Android from Motorola? Or perhaps faster internal flash storage? Faster Ram chip? Also the FHD on N7-13 can play a factor. I am not complaing but find this very odd.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
OK, not sure what any of that has to do with this thread though...
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
Bug still very much present after 4.4.4 update to UK Moto G, and if anything a faster drain rate after GPS use - 48% to 24% whilst using GPS navigation for about 45 minutes yesterday, picked up phone about 6 hours later (not used in interim) and it had drained to 0% and shut down. On normal patterns of battery drain it should have still have had around 12-18% of juice left. Sucked as I really could have done with Nav to find my way back to the Motorway from my in the sticks location.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Yup, sure is still present. Motorola will never fix it, too busy dealing with the moto g 4g SDcard issues now ;)
[Moto G Q&A, Help & Troubleshooting] moscka:
I have the same here on my 4.4.4 brazillian xt1033 dual sim.

In the when i received the phone, the battery was amazing. I got 9h and 30min of screen on time reducing the processor clock to 600mhz. In those days I didn't used GPS, only Wi-Fi.

Now the battery drains very fast when idle.

I tried to revert to 4.4.2, but nothing change.

Anyone knows if changing kernel or flashing a custom rom solve the problem?
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
We think it's hardware related in that the GPS chip does not switch off fully when not in use. However there is a possibility the kernel could be fixed to force the GPS chip off but any custom kernel would need to be specifically fixed to do this. This would be my guess anyway.
[Moto G Q&A, Help & Troubleshooting] beeeto:
Any news about this problem?

I am having this awful drain at deep sleep no matter what. It is happening on stock and AOSP as well, with all kernels.

Maybe we can get some hope with Android L? I really doubt it.
[Moto G Q&A, Help & Troubleshooting] SpaceMonkeyK9:
Same Issue on a different device

I'm having an LG optimus G with the same issue. Completely stock(unofficial cm11), Airplane mode, everything off and still i lose around 3-7% overnight. And battery stats act really wierd sometimes (like charging too fast or dropping too fast). However, all these problems started after i flashed an unnofficial version of cyanogenmod, had no problems whatsoever in stock or official cyanogenmod. So i don't think its hardware related. At the moment I'm doing some research on the same ROM to exactly pinpoint the problem. WIll update soon :)
[Moto G Q&A, Help & Troubleshooting] eemgee:
Moto won't even admit there is a problem. So unless L fixes it by accident i don't think we'll get a fix. :(
[Moto G Q&A, Help & Troubleshooting] SpaceMonkeyK9:
Found the problem

Hey guys, at first i thought it was Google play services that caused the problem. So last night i flashed the same unofficial cm11 ROM without gapps this time. Again airplane mode, location, GPS, wifi all off.... Overnight my battery level dropped from 65-59%. So i don't think its a google play services related problem. It is definitely something with the ROM i flashed. As i mentioned earlier I've faced no problems in official cm11 or stock rom. It's gotta be a software related issue. I'll do some more research and post results. :)
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
You aren't even using a moto g and you are not on the stock ROM. Your issue is clearly not the same.
[Moto G Q&A, Help & Troubleshooting] SpaceMonkeyK9:
You are right

Yes ur right ! I'm neither having the same phone nor am i stock. But after flashing a custom ROM i'm having the same battery drain when the phone is idle. Today i lost 5% in 3 hrs when the phone was idle(in Flight mode). So i just wanted to let you guys know that it may not be a hardware problem. Try flashing a custom ROM to see if the problem persists. :silly:
[Moto G Q&A, Help & Troubleshooting] Nandeh:
The problem persist with any custom or stock moded ROM I have tested, and I have tested almost everyone published in XDA forums
[Moto G Q&A, Help & Troubleshooting] SpaceMonkeyK9:
Then try a custom kernel. Someone mentioned in a thread i read earlier, that his idle battery drain issue (in airplane mode) was fixed after he flashed a custom kernel(franco kernel). So far i tried 2 kernels(Matr1x and Jolla) and the problem persists. Have to try Franco now :) Keep digging :)
[Moto G Q&A, Help & Troubleshooting] Nandeh:
Have tested a lot of custom kernels too and it doesn't fix the problem neither. It doesn't matter if it is with Aosp or Stock ROMs, bug is present anytime...
[Moto G Q&A, Help & Troubleshooting] Conquerora:
I am running stock KitKat on my Moto G and I can also report a battery drain when the phone idles. When the phone was new I could easily get about 5 hours of screen on time over 2 days. Now it only lasts a day with at most 3 hours SOT. I did a factory reset and a few cache wipes but to no avail. I have Google Now and location services disabled. GSam Battery tells me that I have used 19% of the battery with the screen on and 44% while it was off. That is definitely not normal for 26 hours of usage with 1.5 hours of SOT.

I recently talked to Moto Support but as expected they were not able to help in any meaningful way.
[Moto G Q&A, Help & Troubleshooting] beeeto:
Don't be meanie with the guy, he may not have our phone but he's trying to help. We all know this issue won't be solved on KitKat, we must put all our hopes on the new Android L, otherwise I doubt if its going to be fixed.

Our Moto G is amazing enough anyway, so I can still live with this drain and love my phone. :o
[Moto G Q&A, Help & Troubleshooting] Nandeh:
No offence but I'm not being meanie, I'm just saying that I have tested everything he is proposing with no success ;)
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
The only way this can *maybe* be fixed by software is through new drivers for the GPS chip, but even then that may not work depending on what the hardware issue is.

As Motorola won't even acknowledge there is a problem then the chance of 'fixed' drivers in lollipop is almost zero.

Custom ROMS - will only fix it if a kernel with a fixed driver is also supplied.
[Moto G Q&A, Help & Troubleshooting] urover:
Still waiting for a fix/ androidL rollout to see if this issue is fixed. If not, then very very unhappy with Motorola. Great device, but can't live with rebooting the phone everytime I use GPS!
[Moto G Q&A, Help & Troubleshooting] elrod16:
The problem very well could be *any* poorly written app that doesn't release wakelocks when it exits. If any wake lock is held by an app, regardless if that app is even still in use, the system will not enter deep sleep mode.
[Moto G Q&A, Help & Troubleshooting] andyrock:
This is not related to wakelocks.
[Moto G Q&A, Help & Troubleshooting] n4naveen:
Can this drain be because of NSA Spying / China (built-in chip itself)?
[Moto G Q&A, Help & Troubleshooting] Bakpoeder:
Sooo, i've been using the GPE ROM (4.2, then 4.4.4) for quite some time until recently. GPE doesn't support USB OTG, so I flashed the stock Motorola ROM (4.4.4 EU retail) and now i've got this same exact problem!

1) I've never had any of these issues on the 4.4.4/4.2 GPE ROM.

2) Battery life is way better on GPE ROM anyways!

Just sharing my experience!
[Moto G Q&A, Help & Troubleshooting] appsmarsterx:
I have the same battery drain issue, in early days I managed to keep my phone more than 5 days with very light use mostly in idle, here is a screenshot of my battery life in early days.

http://xdaforums.com/showpost.php?p=51764251&postcount=550

I couldn't remember when the issue started may be after the Kitkat update.? not sure.. I tried every rom (including new CM12), kernals, lots of battery savings apps, even tried flashing a new rom and keeping it fresh without integrating any accounts or installing any apps but battery drain was still there.. I don't think this issue is related to any wake locks. the issue is very mysterious. I can hardly keep my phone 2 days even with idle now. I'm currently on stock 4.4.4 EU
[Moto G Q&A, Help & Troubleshooting] OldYellowBricks:
I think it depends the apps that we have installed. Some apps are aggressive when it comes to syncing/checking if it can sync/checking if there is data connection/checking if anything has changed with the app itself. These events if come from multiple apps could cause battery drain. Try wiping the phone and keep minimal/0 apps and the difference should show.
[Moto G Q&A, Help & Troubleshooting] Nandeh:
Guys, if you haven't read the entire thread, please absence of propose useless solutions. This bug is exclusively related with GPS...

Thanks.
[Moto G Q&A, Help & Troubleshooting] eemgee:
I've given up trying to fix it and just use current widget to alert me when drain starts, so I can reboot the phone.
[Moto G Q&A, Help & Troubleshooting] elrod16:
But even if it is strictly a GPS related issue, the GPS and its drivers are still governed by the same rules as any other peripheral device on android. If it is a hardware or driver issue we should be able to get some error about the device failing to suspend in the system logs or kmsg when the device tries entering deep sleep. And you should be able to force the GPS off to test the issue through the sysfs entry for it.
[Moto G Q&A, Help & Troubleshooting] appsmarsterx:
yesterday I turned on location services (in high accuracy) and tried turning on airplane mode to see the results , but the battery drain was still there, then I turned off location services and airplane mode and kept phone for like 6 hours in idle, then suprisingly there was no battery drain anymore. then I played a little with my phone for few minutes aftet the long idle session, looks like drain is back again.

here is a screenshot

View attachment 3039036

not sure why it was not indicating the cellular signal, but I turned off the airplane mode too.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
The phone does deep sleep and NO wakelocks occur over and above the norm. It seems to be a hardware bug where the GPS chip does not switch itself off even though the software thinks it has. Read the thread to understand and also see

https://forums.motorola.com/posts/5a07d40ff2
[Moto G Q&A, Help & Troubleshooting] n4naveen:
It must be GPS . That's the reason Google changed the name GPS to Location from previous android versions , to secure itself legally . There's sure something going on in our devices !
[Moto G Q&A, Help & Troubleshooting] fubag:
has Lollipop potentially fixed the gps battery drain issue?
[Moto G Q&A, Help & Troubleshooting] Nandeh:
Yup it does!! At least with GPE 5.0.1 the battery draining is not present. A mate in HTCmania has checked it :)

Really good news!
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
[MENTION=2504310]Nandeh[/MENTION] are you going to upgrade to lollipop. I'm thinking of staying on KK as there are things in lollipop I don't like unless its 100% confirmed that GPS is fixed.

If you do upgrade keep us informed.

I wonder if I could just flash the lollipop kernel...
[Moto G Q&A, Help & Troubleshooting] Nandeh:
I will update when OTA will come, but I'm sure it's solved. Look at this:

http://www.htcmania.com/showpost.php?p=16629292&postcount=110

It's written in spanish, but screenshots show that the draining is not present after using the GPS :)
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
A Google translate of that link is

I have had the gps mobile station while going with the car a long time, with maps and Radardroid after arriving I left it in airplane mode before in kitkat if I did that the battery was down , now Lollipop has remained horizontal. I have to try a few more times to see but promises = D
[Moto G Q&A, Help & Troubleshooting] der-joker:
This bug is only present in kitkat, isn't?

Is it possible to flash a 4.3 radio/baseband?
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
I had the bug in JB as well I think as I noticed it just after I bought my phone when it was first released (XT1032 1st gen)
[Moto G Q&A, Help & Troubleshooting] Nplus1:
Happy new year everybody.

I've been reading the first 17 pages of this topic since it matches what I'm seeing on my phone. I don't have a Moto G, but the drain pattern is similar (Sony Z3 Compact).

I started noticing it when I switched the phone to airplane mode about 2 weeks ago (on vacation, not wanting to use the SIM in roaming), but it might as well be a coincidence with the latest Play Services update (16 Dec 2014).

Anyway, long story short: I'm always keeping an eye on battery usage, especially in idle so whenever I notice more than 2-3% drain overnight (GPS always on with High Accuracy, Wi-Fi or 4G with sync activated for 2 Google Accounts) I'm into investigation mode.

What I found EXTREMELY bizarre was to see "Phone idle" as top consumer (first or second, just after screen and way above Android OS or Play Services or Wi-Fi) and a discharge pattern similar to what you guys were experiencing.

I was pretty sure this is an OS issue or a defective battery until I switched of Wi-Fi, sync and location (still being in airplane mode of course) and 1% over the course of 7-8h at night.

The main reason for this reply is to let you guys know that I'm seeing THE SAME thing on two different phones and two different Android versions (Sony Xperia Z3C on 4.4.4 and LG Nexus 4 on 5.0.1): with Wi-Fi and location services on, phones losing 1-2% battery per hour while in deep sleep and no our very little wakelocks (1%).

Since I never experienced this before and now it's happening on 2 different phones, I'm ruling out a faulty battery and I'm suspecting either Google Play Services or my Wi-Fi network (maybe a router setting/bug).

P.S.: please stop voiding your warranties for the sake of wakelock detection. The app Wakelock Detector works with uprooted phones!

Trimis de pe D5803
[Moto G Q&A, Help & Troubleshooting] der-joker:
I have found a way to avoid the gps based battery drain:

- enable gps only if you will use it

- disable location tracking on your google-account

- prohibit location access to apps which don't really need it (via xprivacy or cm built in app security)

After using an app which uses gps:

- kill this app (i use "longpress back to kill" on pac-rom)

- after killing, toggle gps off/on 3-4 times (automate this via tasker/llama)

This works at least on my device (xt1032, baseband/radio from 4.4.2 retail eu, pac-rom 4.4.4 RC3)

E:

After a long ingress-session the drain is unstoppable :(

I had to reboot.
[Moto G Q&A, Help & Troubleshooting] Sportfreunde:
Has anyone tried this fix with disabling google/playstore services using it? Apparently greenify doesn't do the job though I don't think that this is what's causing the drain:

http://xdaforums.com/showthread.php?t=2357417
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Its GPS. Read the thread thoroughly, there are no wakelocks etc, its lower level than that.
[Moto G Q&A, Help & Troubleshooting] Sportfreunde:
My GPS is always off and the phone has rebooted multiple times since then. Strangely the battery drain didn't happen at all last night from around 60% then it dropped to 57% when I used it a bit and stopped overnight then it started happening again, I'll upload the graph.....it's strange. Nothing on the phone setting wise has changed at all in that time.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
I would think from what you describe that its a different issue. I can easily recreate my drain by using GPS, from that moment on I lose 1.5% per hour over and above what I normally use.
[Moto G Q&A, Help & Troubleshooting] eemgee:
Anyone still have this problem with lollipop? I've been using it a few days and think it's fine but not normal usage so in not sure.

and current widget doesn't work with lollipop.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
I'm really keen to know if lollipop fixes it, I haven't updated yet. Can you do the normal test, so use GPS a lot then put phone in airplane mode overnight and see if it drains roughly 1.5% per hour.

May take a few days to recreate the issue by playing with GPS so just being OK for one night wouldn't really prove it's fixed, but I really hope it is.
[Moto G Q&A, Help & Troubleshooting] eemgee:
Still there :( I put in airplane mode at 8pm and let gps run for a few minutes, then left.

Dropped 9% by 1am. Rebooted and left until 5am and didn't drop even 1 %.

View attachment 3158337
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
That's a real shame, I assume there were no wakelocks that could have caused the drain instead. Oh well, I'm not surprised its still broken.
[Moto G Q&A, Help & Troubleshooting] eemgee:
97% deep sleep other 3% nlpcollectorwakelock and powermanagementservice.wakelock
[Moto G Q&A, Help & Troubleshooting] appsmarsterx:
quick question, are you on CM12, stock rom or GPE ?
[Moto G Q&A, Help & Troubleshooting] eemgee:
Retail Brazil 5.0.2 Stock from the development section.
[Moto G Q&A, Help & Troubleshooting] Radra:
I'm really sorry to bump this thread but did somebody figured out how to fix it? I did some dumb stuff like calibrate the battery (do'h) and I'm having this problem with my Moto G LTE (XT1040) and no matter what rom (even 4.4.4 stock or CM11 or CM12 5.0) I use...the draining while the phone is idle is terrible.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
Is it the same issue, can you tell us:

1. Amount of drain per hour in airplane mode?

2. Any wakelocks?

3. What does battery screen say is using the battery?

4. Does a reboot fix it?
[Moto G Q&A, Help & Troubleshooting] Radra:
I haven't tested those yet but I will today. A reboot didn't fix it tho and if you see my screenshots I didn't use the GPS
[Moto G Q&A, Help & Troubleshooting] eemgee:
Stick it in airplane mode for a few hours and if the drain continues you have the same problem. As it's draining even after a reboot seems more like it's a bad app tho.
[Moto G Q&A, Help & Troubleshooting] scott_doyland:
You need to figure out if this drain starts only once GPS has been used. Easiest is:

1. Switch off GPS and reboot.

2. Use as normal but do not switch on GPS.

3. Airplane mode overnight and see if drain happens. If it does then its not GPS.

If drain doesn't happen then switch on GPS and use GPS a bit, then switch off GPS and stick in airplane mode. See if drain happens now. If it does then its likely the GPS bug and there is no fix.

Read the entire thread to understand the drain as it will help you diagnose if it is your issue as well.