yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
It's a general problem with android 4.3. It doesn't matter which phone you have or which ROM you're on. I have a SGS3 (international) and cyanogenmod 10.2 and guess what?! The net is full of complaints about battery drain. Google should fix that ASAP!
[Nexus 4 Q&A, Help & Troubleshooting] hooligan_016:
Checking back in again ... for me it seems the trouble has been solely with the WiFi option "Scanning always available". I have left all other location services on (reporting, history, etc.,) but turning on the scanning always option on both my N4 and N7 (2012 wifi only) caused the keep awake bug. Not noticing any drawbacks with leaving that option turned off until Google fixes it.
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
I highly doubt that the drain comes from a Qi charger, we have a software issue, not hardware.

Really weird your case, because you shouldn't have any drain on airplane mode. Try to make a clean install or change your GAPPS, I'm using BaNkS GAPPS without a drain anymore.

Agree, half of Android users have drains of any type because of 4.3 update. All my solutions here are just workarounds, not a real fix, The realf fix should come from Google.
[Nexus 4 Q&A, Help & Troubleshooting] 320flyboy320:
I'm sure I read somewhere that when a wireless charger is used it causes a wakelock (but can't remember which one), and thus cause a unnecessary battery drain.
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Maybe the "Android OS" wakelock. I can't think in another one.

:p
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
The worst drain was 18% from fully charged within 6 hours of absolutely no usage at all. Wifi off, data off, sync off, 2G only. I've had the screen on for about 30 seconds, then off for the next 6 hours. When I woke up next morning I was like WTF is going on.

Srlsy this is NOT acceptable at all.
[Nexus 4 Q&A, Help & Troubleshooting] brian88:
What happened with my device? If I disable wifi & mobile nework location in location access like suggestion in #1, how can I use Maps?

Sent from my Nexus⁴
[Nexus 4 Q&A, Help & Troubleshooting] Razer(x):
That's it, thanks
[Nexus 4 Q&A, Help & Troubleshooting] Largamelion:
By using GPS :eek:.
[Nexus 4 Q&A, Help & Troubleshooting] mangoman:
I was also sure, so found the link

But that seems to be another issue again..
[Nexus 4 Q&A, Help & Troubleshooting] brian88:
using GPS without data?? :eek::eek: possible??
[Nexus 4 Q&A, Help & Troubleshooting] Largamelion:
Yes, disabling 'mobile network location' in Location access is not the same as disabling your data connection. You will still be able to use Maps.
[Nexus 4 Q&A, Help & Troubleshooting] brian88:
it can not locate my place, I just can use Maps to search place, not to direct way
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
I know we all are angry because of this behavior, but hardly we can make anything besides this to make phone have a decent battery life. I hope that most of issues got fixed with android 4.4, but still it is months away.

You can use your GPS without mobile data, but it will take sometime to lock your location. Besides, if you are inside a building or any big structure, most of the time the GPS won't find you, because GPS works better on outside places. So I recommend to enable the wiFi location settings if you really need Maps inside some place and then deactivate the option.

I think part of the "Android OS" wakelock, most of the wakelocks appear with that name on the battery graph.
[Nexus 4 Q&A, Help & Troubleshooting] brian88:
Thank you, after I reflashed my ROM (dirty flashing), Google services did not appear in battery usage in about 2-3h (enable location eccess and wifi & data network location), then I disabled and enabled location eccess, issue appears again.

I dont know what exactly the reason is. Why someone get this issue while others do not? What does it relate, ROM, kernel or anything else?

Sent from my Nexus⁴
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
I think that the Google Services drain is more related to GAPPS than any other thing. I'm using BaNkS GAPPS and I don't experience any issue.

:silly:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
What's the difference from normal GAPPS? And can I just flash them or do I need a factory reset and start anew?
[Nexus 4 Q&A, Help & Troubleshooting] mangoman:
Another night with drained phone and no alarm clock.

Any luck with turning off location in maps?
[Nexus 4 Q&A, Help & Troubleshooting] brian88:
Maybe you're right, I've used a minimum Gapps, I'll try with a full Gapps to check this issue

Sent from my Nexus⁴

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

Dirty wipe then reflash ROM and new Gapps

Sent from my Nexus⁴
[Nexus 4 Q&A, Help & Troubleshooting] jwinstonsf:
you're on the right track but...

"I discovered that the drain come specifically from this option in Location settings: Settings > Location Access > Wi-Fi & Mobile Network Location."

For me leaving that setting on but turning off Settings> Wifi> advanced "Scanning alway available" works best. Google sevices went from 13% to 3%.

This is on cm 10.2.
[Nexus 4 Q&A, Help & Troubleshooting] agriff:
In my testing, the Google Location drain/wakelock issue has been entirely caused by the August 28 update of Google Now. When I reverted back to the previous version and unchecked auto updating in Google Play, the issue disappeared, entirely. This is even with the latest Google Services still installed.

Below is a link to the last good version of GNow if anyone wants to try for themselves.

http://www.mediafire.com/?7527417b56dagat
[Nexus 4 Q&A, Help & Troubleshooting] skitzo:
Why do you have do disable a great function of the phone to make it not kill your battery in 6 hours. Lame. :(
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
Just some screenshots in case you might be interested... Latest CM nightly for i9300, BaNkS core gapps. WiFi & network location ON, GPS off, always scan WiFi off, Android Device Manager all options on. Now have a look!
[Nexus 4 Q&A, Help & Troubleshooting] chan1628:
I've never installed Google Now... and have no intention of ever using it

however, i'm still experiencing the battery drain on all my devices (n4, n7, s2, i9250, sk17i)
[Nexus 4 Q&A, Help & Troubleshooting] maverickronny:
If I restrict bkground data on Google services, does gmail app still give live notifications , or does it affect gmail too?
[Nexus 4 Q&A, Help & Troubleshooting] mangoman:
Think I have to test this, or stay up one night to see what the #&¤&¤#"&% the phone is doing. Seems to drain empty overnight again and again.
[Nexus 4 Q&A, Help & Troubleshooting] greenro89:
This seems to line up with when I realized I was getting a drain. Uninstalled Google search from phone and tablet, installed the version you posted and disabled updates for google search. Will see if it helps tomorrow after doing full charges overnight. Work 9 hours so will see if my tablet drains faster than normal over that time.
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
Still too much drain - even with BaNkS gapps. Location reporting off now, because I like some decent battery life better...
[Nexus 4 Q&A, Help & Troubleshooting] Razer(x):
Might roll back to 10.1, this is a huge issue
[Nexus 4 Q&A, Help & Troubleshooting] JediDru:
I thought I was going crazy when my phone hasn't been lasting my 12 hour work shifts. I had a feeling it was a 4.3 bug so I am now on miui and loving it. It will be nice once this is "officially" fixed.
[Nexus 4 Q&A, Help & Troubleshooting] hooligan_016:
Welp, no idea what's happened in the past couple of days, but Android OS is once again the top battery consumer and not allowing my device to go to deep sleep. I haven't changed anything other than having "Scanning always available" turned off. Was there some sort of stealth update to services recently?

Wakelock Detector isn''t giving me any useful information in trying to diagnose exactly what service is causing the bug.
[Nexus 4 Q&A, Help & Troubleshooting] greenro89:
Reporting back

I have to say that Google now seemed to be my issue! Rolled back to posted version and I no longer have the drain! My tablet has been going for 10 hrs with over an hour of screen on time and I'm at 88% as I'm writing this.
[Nexus 4 Q&A, Help & Troubleshooting] hooligan_016:
https://play.google.com/store/apps/details?id=com.google.android.gms

It looks like Google Play Services was updated again on Sept. 6th. Could the keep awake possibly be related to this? Let's just say the background service updated itself automatically ... could that possibly trigger the keep awake bug until I reboot my device?
[Nexus 4 Q&A, Help & Troubleshooting] mangoman:
I did turn off Scanning always available, made it through the night from 92 to 80%. But who knows if that was the solution.
[Nexus 4 Q&A, Help & Troubleshooting] dylix:
thought I was going crazy for a while. I was plagued with this problem sometime ago, then it seemed to fix itself, but now has magically reappeared again.. silly google, wtf u doing? :confused:
[Nexus 4 Q&A, Help & Troubleshooting] Largamelion:
I 'm on CM 10.1 and don't have that setting.

I don't have Google Now installed and I still have the drain when I leave 'Wi-Fi & mobile network location' on.

Exactly my experience. It seems to come and go whenever it feels like it, without me changing any specific setting. I 've been running with 'Wi-Fi & mobile network location' off for the last two weeks and the issue has not reappeared.
[Nexus 4 Q&A, Help & Troubleshooting] Sp33dlink:
Ive searched an hour for the official Google support forum (i guess i know why its so hard to find :D ) and theres not a single thread with this issue. Now i made a thread and hoping for an answer from google or a dev.

You should support this thread by posting a repy with screenshots if you have the same issue!

https://productforums.google.com/forum/#!category-topic/nexus/other-discussions/nexus-4/hrVfymtJMmE
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
BaNkS GAPPS are a stripped version of normal GAPPS, just whit the minimal settings to make them work. No bloatware or apps that you can download from Play Store.

As I said, maybe disabling WiFi location settings can make things work.

Sometimes dirty flashing can make some problems, I always recommend to make a clean flash when trying to fix stuff.

This solution is on first post.

Maybe for those who still have the wakelock, could be a good solution. would be nice that people report back to see if this version fix the battery drain, and could be an answer for people who is not being able to fix the drain yet.

Because Google was the lame for releasing updates that kill battery phone. At the end, all this is not our fault, is Google's. As I said many times before, all the things posted here are workarounds, not final solutions. The final solution should come from Google, but maybe we have to wait until 4.4 is released.

It looks good!

The Google Services battery drain not come only for Google Now, it also comes from syncing contacts, calendars, checking updates and all the things related to check Google servers.

I think most of the services would be affected, but I don't know about the apps.

Maybe WakelockDetector app can help with this.

We all wait to report back.

And what about WiFi Location settings?.

Is not about the ROM version, is about the Google Services version and updates. I have read about many people that is in 4.2.2, and still have this battery drain because of the Google Services update.

MIUI is nice, but I left it a long time ago because they don't care on bugs or anything. They just release and release tons of features, but they don't work as intended. You report a bug, they ignore it. If they even fix a bug, new features make 3 more. I don't really liked the way they make things.

There are another 2 solutions to Android OS wakelock. This is because of radio version in most of cases.

Nice, hope some people report back and I will post this on the first post as another solution.

I don't really know, I don't have the Google Services battery drain anymore, and I have all the location options enabled, both on Google Now and Location settings.

Try to see a couple of days more.

:(

This is the only workaround I could find.

There is tons of threat in the Google forums about this issue, but people from Google always say that is because of ROM or Kernel. They don't give a solution because they don't have it in my opinion. This kind of problems are really hard to fix, because they behave different in each phone. My solution could be one, but maybe from you is different regarding the same drain. Hope they fix this soon, because there is a huge battery gain from 4.3, but these kind of drains just make that it seems that is the same.
[Nexus 4 Q&A, Help & Troubleshooting] Sp33dlink:
But the difference from you is that myself and most of the other users which make a thread are using costum rom and kernel directly from google. When Google wont fix it nobody does...
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
[MENTION=4658859]Galaxo60[/MENTION]

I have turned off anything related to location - except for GPS. It's the only way to keep battery life okay.
[Nexus 4 Q&A, Help & Troubleshooting] peinneon:
Hey i'm new to android stuff but i have followed the steps for flashing the custom rom (unlockbootloader, root, custom recovery twrp, wipe system cache dalvik, and install zip and gapps) it's working perfectly on 4.2.2 but in 4.3 it seems stuck on the boot animation, is there any special steps on 4.3 build?

I'm using stock 4.3, sorry for my bad english
[Nexus 4 Q&A, Help & Troubleshooting] Thibaultvw:
Read this thread. Here is explained what went wrong at google. :)

http://xdaforums.com/showthread.php?t=2382880
[Nexus 7 (2013) General] mtlake8:
So I got the Nexus 7 today from Amazon, did the setup, connected to wifi and had no issues. Very soon after, the Wifi showed it was still connected, but I couldn't update apps, go on the browser, get emails, etc. It looks like the Wifi is connected, but nothing that requires a connection is working. I tried factory resetting, but nothing helped. Has anyone else come across this issue? And ideas on what might be the problem?
[Nexus 7 (2013) General] artm03:
Had that same issue. Rebooting my router fixed it for me.
[Nexus 7 (2013) General] player911:
Are you using 5ghz? 2.4?

I've been traveling all week and had no problems with my home 2.4/5ghz Linksys router nor any hotel access points I've used. Seems to work great. So you can't get online at all? No browser, no email, no apps, no play store, etc?

Perhaps you typed your password in wrong. What about router security?
[Nexus 7 (2013) General] Bsmith0731:
Mine was doing some crazy stuff like that as well.

I rebooted the device and haven't seen that since.
[Nexus 7 (2013) General] mtlake8:
I finally got it to work. All it took was me disconnecting from the Wifi and reconnecting again. Seemed like a weird little glitch, but all is good now. Thanks guys.
[Nexus 7 (2013) General] cobyman7035:
even turning on/off wifi multiple times i still get OP error, whos blue wifi icon connetion but i can't do anything online!!! i'll try to reboot nex7
[Nexus 7 (2013) General] NokiaX:
Hello,

Try to change wifi router security settings wpa, wpa2.
[Android Q&A, Help & Troubleshooting] BlueSkyRocket:
I use DroidWall in white list mode on my rooted phone.

After upgrading from Android 4.2.2 to 4.3 (reroot by flashing SuperSU 1.51 zip) the Google Play Store couldn't connect to the internet.

I opened DroidWall app, I saw "Google Play Store" still had the permission to connect, I saw three new google apps:

"Google Keyboard", "Dialer", "Google Hindi Input".

If you want "Google Play Store" to work properly, you have to give connection rights to "Google Keyboard" in the DroidWall configuration.

Do that, and it will work again.

I just wonder what's the deal between play store and keyboard :confused:

PS: play storie stopped working again, so I reconfigured droidwall in blacklist mode and the problem seems solved for real now. In white list mode there is something that needs to be enabled but it seems not to be there in the list.
[Sony Xperia S, Acro S, Ion] bolochan:
Hi all just wondering if root is available for jelly bean?

Thanks
[Sony Xperia S, Acro S, Ion] taopg7:
First unlock your bootloader (if possible) then rooting will never be problem. thanks !
[Sony Xperia S, Acro S, Ion] MrGezz:
how about use the search button ???:confused::confused::confused: btw there is a method to root JB
[Sony Xperia S, Acro S, Ion] skywalkerdroid:
Maybe here you can find some useful info : http://xdaforums.com/showthread.php?t=1751065
[Sony Xperia S, Acro S, Ion] tejasvi1:
Just search on Google
[Sony Xperia S, Acro S, Ion] bolochan:
I had used the search thanks. Not sure if I want to use an insecure kernel though, and my bootloader is locked. Will keep looking
[Sony Xperia S, Acro S, Ion] venkatx2:
v17 rooting kit works well

I downloaded the DooMLoRD_Easy-Rooting-Toolkit_v17_perf-event-exploit.zip (search in this site) and tested with my Xperia Ion LT28at (Flashed Android 4.1.2 LT28h Firmware). It works well on Locked Bootloader. :highfive:

Now I have rooted Xperia Ion LT28h Android 4.1.2 :good:
[Droid RAZR M Themes and Apps] Jersey846:
I discovered this gem of an app a couple months ago thanks to an article on Lifehacker. Lifehacker's app recommendations can be hit or miss, so I took this with a grain of salt. But after trying it for a couple months, I couldn't be happier with the results and it's become one of my absolute favorite apps. I've noticed a few of you mentioning it in various forums as well, so apparently word has gotten around! But to those of you who have yet to try Greenify, I would highly recommend it. Basically it "auto-hibernates apps". So, for instance, if you have the Facebook app, but don't necessarily care to have it running in the background eating valuable battery life, Greenify will hibernate that app for you. It's very simple to set up and it has definitely extended my battery life after adding around 7-8 apps to my hibernate list. I'm attaching the Lifehacker article and Google Play links below.

Lifehacker: http://lifehacker.com/greenify-auto-hibernates-apps-youre-not-using-to-save-513922193

Play Store: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
[Droid RAZR M Themes and Apps] v0rtex604:
Good app. I'm using it too for a long time :)

Sad that it can't hibernate system apps :( Like Google Maps for example
[Droid RAZR M Themes and Apps] Jersey846:
Didn't notice that. Depending on if you use maps or not you could always freeze it in Titanium Backup.
[Droid RAZR M Themes and Apps] jco23:
agreed - thanks for the find. it has improved battery by 50% for me
[Droid RAZR M Themes and Apps] mentose457:
Or you could use TiBu to make it a system app then use Greenify.
[Droid RAZR M Themes and Apps] netizenmt:
I apparently am not smart enough to run Greenify. How do you configure it?
[Droid RAZR M Themes and Apps] jco23:
basically, go into "manage apps" -> "running apps" and determine which apps are running that you really do NOT NEED to be running all the time. for me, it was facebook, scramble with friends, beat the streak, play music, and a few others. I then open the greenify app, and selected just those apps. then, greenify will hibernate them so that they are not running in the background. only downside is that I do not get notifications for those apps (which is fine by me). however, I can still access them just fine and they launch very quickly/smoothly as if they were not hibernating.
[Droid RAZR M Themes and Apps] tcat007:
How did you Greenify Play Music? I don't see it on the list. Is that considered a system app?
[Droid RAZR M Themes and Apps] jco23:
Not really. Just open the app, hit the home button, then go into greenify and hibernate it.
[Droid RAZR M Themes and Apps] tcat007:
Sorry, I had searched Greenify and got to this Razer forum, I have a Nexus 7. "Home" sends me to my home page on it. I used app/mover to change Play Music to a user app (but now Music is gone and won't install from Play Store...) Don't use it much anyway, but be nice to figure out Greenifying system apps.
[Droid RAZR M Themes and Apps] thedude59:
Wow this app is great by far the best battery saving app I ever tried, I couldnt believe how many times apps were waking my phone and the funny thing is, they Dont even have notifications... So they were just waking the phone because they felt like it!:mad: but now I can still use the app and they Dont do anything in the background now! :thumbup:
[Droid RAZR M Themes and Apps] Jersey846:
Glad to hear it! I felt the same way after I installed it.
[Droid RAZR M Themes and Apps] ezknives:
Finally tried it out... it works well... sitting at 12 hours and only at 71%...
[Droid RAZR M Themes and Apps] Jersey846:
Sweet!
[Droid RAZR M Themes and Apps] CrocadileUT78:
Just a suggestion, if you have Titanium Backup Pro then you can convert system apps to user apps. Then you can set said app to hibernate in Greenify. :)
[Droid RAZR M Themes and Apps] cpupeli1:
which apps

I'm interested as to what apps you have done this to? I have the Pro and would love to know which apps you have successfully converted, thanks ahead.
[Droid RAZR M Themes and Apps] skuppej:
Can anybody help me out by explaining (or linking to me an article that explains) how Greenify actually works its magic? Does it just run a service in the background that is constantly monitors active processes that have been "Greenified" and forces these processes to go into "Hibernate" mode when the screen is off, and prevents any partial wakes?

Thanks guys.
[Droid RAZR M Themes and Apps] thedude59:
Before greenify I would unplug my phone at 930 pm and wake up at 5 am and the battery would be at 78%, with greenify doing the same method I only drop to 88%!
[Droid RAZR M Themes and Apps] jco23:
http://xdaforums.com/showthread.php?t=2155737
[Droid RAZR M Themes and Apps] sloosecannon:
This may very well be placebo, but battery life has been awesome recently, right after installing Greenify. CM10.1, stock CM kernel... Just another data point...
[Droid RAZR M Themes and Apps] bimobae:
whats the different between 'freeze' in titanium and 'hibernate' in greenify? same function bu different name maybe? but thx anyway for saving more power on my razr m :cool:
[Droid RAZR M Themes and Apps] Jersey846:
With freezing an app you have no access to it. It's as if the app is no longer on your phone. With hibernating the app is still able to run on your phone when you need it. Hibernating is just making sure the app isn't wasting any battery power running in the background when you don't want it to. When it's hibernate it's saving you battery, but when you need the app again, just click on its icon and it'll be there ready to run for you.

Sent from my Moto X
[Droid RAZR M Themes and Apps] skuppej:
Freezing is the exact same thing as "disabling" and application. It allows you disable applications that don't normally have this option available. Very powerful..but be careful what you freeze! On BeanStalk for the Razr M, if you freeze the built-in "weather" app, it will cause a bootloop!

Make sure you are taking regular nand backups
[Droid RAZR M Themes and Apps] Jersey846:
Already answered him. But thanks?

Sent from my Nexus 7
[Droid RAZR M Themes and Apps] livecouk:
Haha mee to found on lifehaker and this app was jem when I tested
[Droid RAZR M Themes and Apps] baiggee2:
really a life saver :cool: