yashsingh1/xdaforums huggingface dataset:
[LG Optimus G Pro] spexwood:
OK, so I just got home from work and today I not only had GravityBox disabled, but I also had the ENTIRE Xposed Framework uninstalled.

My battery is now at 30% and I was only gone for 7 hours!!!!!!!!!!!!!!!!!! This is ridiculous!!!!!!!!!

*sigh* <- frustrated with this whole situation

Yes, the wakelocks are still active.

The top two Kernel Wakelocks are "wlan_wd_wake" (46.3%) and "wlan_wake" (46.2%) in that order. The next in line is "PowerManagerService.Wakelocks" (8.0%) and then "msm_hsic_host" (6.1%). This was since my last reboot, which was about 2 hours ago (I had to rebooted after removing an app that I thought was the culprit... apparently it wasn't).

Again, I keep Auto Sync on, but disablign it seems to not help in this matter at all.

I also keep wifi on. When at work, it isn't connected to a network, but I often forget to disable wifi when I leave the house, or I come home and forget to enable it and end up sucking my data plan dry. Nonetheless, I also did this while on Jelly Bean and had no issues whatsoever.

My phone is only staying in deep sleep less than 10% of the time and the time when it is awake, the CPU is running at full 1.7GHz! This is causing the phone to get warm in my pocket. It doesn't hurt, but it's enough to make things uncomfortable.

According to the battery stats (in system settings), Android OS is consuming 83% of the battery.

The biggest network drainers are "Google Play Services" (33.3%), something simply called "0" (14.8%), and a weather app. I had the weather app open manually not too long ago though, so that explains that one, but the other two I can't. I have no clue what "0" is and I have not opened Play at all today.

It's something to do with wifi itself I think, and maybe not a specific app accessing wifi. (?)

I turned wifi completely off about an hour ago and the battery drain has been stable. It's been like this for days too. If I turn off wifi, the drain is "normal." If wifi is on and connected, drain is higher than with wifi off, but barely. If wifi is on and not connected, the battery level plummets like a rock in a pond.

OH! One thing I just thought about and should mention:

Before I discovered that G2 TweaksBox was causing serious drain, I was on another battery-related thread in the OGP forum. Someone told me to delete the "libiq_client.so" file from System/lib. He assured me this would give me excellent battery life (which apparently it did not). So I did. Normally, I just rename system files so I can restore them if needed, but I guess I accidentally deleted this one.

Could this be causing the drain, and if so, can someone upload a copy of libiq_client.so so I can try it on my phone (after setting it's permissions correctly)?
[LG Optimus G Pro] zamajalo:
Um, that's not good.

Check wireless settings, and disable "Scanning always available" if enabled.

You don't have a nand backup, do you? I have E988 variant so maybe my file isn't good, I don't know if there are big differences between them. I can upload it if you want.

It is possible that Google Services are messing things up since they are between top processes... have you tried clearing their cache/data? Also, if you have a custom recovery, clear cache/dalvik cache, maybe it helps. Also, if High precision location is enabled, try disabling it if you don't need that service, I had some problems with that in combination with weather widgets.

What partial wakelocks are active?
[LG Optimus G Pro] spexwood:
"Scanning always available" has been disabled since day 1

The only nand backup I have is after I already deleted the file :/

I did try clearing Google Service's cahce/data at one point and I think it helped for a few hours. It may have been a placebo effect though. I also di the recovery cache wipe and dalvik wipe with same results.

I don't keep location on at all since I don't use it. It's always off, but at one point, I did enable it to select the battery mode and then turned it off again. I did this mainly so that if and when I do use location, it would always use Battery and not High Precision.

I'm currently backing up my rom, so all partial wakelocks were cleared for now. Sorry.

I'm trying to reflash the stock rom real quick and grab the libiq_client.so file, then restore the backup and insert the file back into system. Unfortunately, I may not be able to tell if it solves the problem until sometime tomorrow.

EDIT: BTW, the only reason why I won't just start all over again on the reflash is because 1) I want to figure out what's causing this problem so it won't happen again, and 2) I don't have the time to spend hours setting my phone up again

EDIT2: Oh and every time I reflashed my ROM, the first things I did was rename/delete that library file and installed G2 Tweaksbox. And every time I had horible battery drain, so i'm really hoping it's due to the lack of this library file.
[LG Optimus G Pro] zamajalo:
Try it. I can upload file from my backup if you're willing to experiment with that, to save you from all that flashing.

Also, if you edited your build.prop and changed pm.sleep_mode and ro.ril.disable.power.collapse, undo that. It only disabled deep sleep state for me (had similar problems few days ago when flashed a new rom, mmc1_detect, suspend_backoff and some other weird things, so I even tried that)

Have you tried using another roms?
[LG Optimus G Pro] spexwood:
It's OK, I'll get the file from the flashing. I know it'll be a pain, but this may be safer just in case there is some sort of difference between the E988 and E980 versions. I doubt there would be, but better safe than sorry I guess.

I did add those settings to my build.prop as a test, but I was smart there and backed up my stock build.prop first and ended up restoring it a few hours later. It was causing my screen to not always turn on when I pressed the power button.

I have not tried any other ROMs. I prefer to stick to stock ROMs (or modified versions of stock... basically anything stock-based and not CyanogenMod or AOSP). I had bad experiences with AOSP-based ROMs on my old phone.

If I tried a stock-based ROM though, it must have everything working though. I mean everything: calls, texts, LTE, bluetooth, speaker phone, etc etc.

EDIT: OH MY GOSH!!!!!!

I just found where the libiq_client file went. I moved it to my internal storage.

Well, good to know I wasn't totally stupid and knew not to completely delete the file! Unfortunately I was still dumb enough to misplace it....
[LG Optimus G Pro] zamajalo:
Better to misplace than to delete it, trust me :D

Post results.
[LG Optimus G Pro] spexwood:
I can see that as being true LOL

I'll need some time to test this, but I'll definitely post results ASAP.
[LG Optimus G Pro] vivebatu:
Libiq.so enables carrier IQ, its removal should only help battery drain, not cause it.
[LG Optimus G Pro] blitzkriegger:
Just to ask, have you tried adjuating wifi scan interval? You can try as well the xposed module, "wifi deep sleep". Helped minimize my wifi related drain
[LG Optimus G Pro] spexwood:
If I can determine that the drain is indeed NOT caused by removing this file, then I'll try removing it again.
[LG Optimus G Pro] spexwood:
Yes to the scan interval, no to that xposed module.

At one point, I modified my build.prop to set the scan interval to 500. However, I also had pm.sleep_mode and ro.ril.disable.power.collapse in there at the same time.

Is that Xposed module in the downloads list in the Xposed Installer app?

EDIT: OK, so I found that Xposed module and I don't really want to try that. It basically turns wifi off in sleep mode and makes everything use mobile data. I have a 2GB plan shared between 3 people, so using too much data is a bad thing, which is why I mostly use wifi. If wifi turns off when I shut off the screen, then everything will be forced to used mobile data instead.

I am trying to wifi scan interval at 500 though. I'm currently running the rom newly flashed with no apps and default settings. Well, I do have BBS installed, but that's to monitor battery drain.

Update to all:

First, I have no idea why my last two posts were separate. Sorry if that caused problems somehow.

Second, I just reinstalled the ROM again, but this time, I'm testing my mods one-by-one. Then I'll try reinstalling apps this way too.

If I can find the drainer, I can restore my previous build knowing the solution. I hope.

ANOTHER UPDATE... Good ones? Maybe?:

I flashed the stock rom all over again last night and slowly added my mods (except GB and G2 TB) 1-by-1 and my phone kept sleeping every time.

I then flashed apps a few at a time and again, the phone slept.

I went to bed with the phone still connected to the wifi and charging. I unplugged it from the charger this morning and took a shower.

After my shower, I checked the phone and it was already down to 98%! The same wlan wakelocks were there and everything! Now, there is a good thing about this: lately, the phone would be down to 95% around this time, not 98%. So the drain was slower, but the phone was still very warm when the screen was off.

I then changed the wifi supplicant scan in the build.prop to 500s, rebooted the phone, and charged it back up to 100%. After that, the phone began to run cool and entered deep sleep. I even went over to my router and renamed the SSID, but kept wifi turnined on on my phone. This was to simulate me leaving on my wifi, but leaving the range of the signal. Phone still slept.

It's now been 28.5 minutes since charging to 100%. The phone has been in deep sleep 26 minutes and awake about 3 minutes. Drain has been 0% this entire time. The same kernel wakelocks are still there though.

So I have no idea if I just fixed the problem, or if this is a fluke. I'm not confident enough to declare it fixed because every time I do, the problem comes back (this is how my life works apparently).

I'm off from work today, so I'm going to continue monitoring it today. I work tomorrow though (I think), so I should be able to give the phone a more elaborate test.
[LG Optimus G Pro] zamajalo:
You changed wifi.supplicant_scan_interval property, right? Can you tell me default value? My original build.prop doesn't have that variable.
[LG Optimus G Pro] spexwood:
As you just said, the build.prop doesn't have the value in there already, so I had to add it. I have no clue what the default value was since there was nothing there originally.
[LG Optimus G Pro] zamajalo:
Thanks, was just checking. Good to know for possible problems in near/far future.

Based on that, it is quite possible that your home router is acting weird... I'm glad you somehow managed to fix it and I hope that problem will not reoccur.
[LG Optimus G Pro] spexwood:
I didn't say I fixed it, just reporting that drain is a little slower.

Android OS is still consuming 87%-95% of my battery life.

After a few hours, Android OS began to spike and now my battery is draining like crazy again.

I've done some research and this is apparently a problem many people are having, especially on the Nexus 5:

https://productforums.google.com/forum/#!topic/nexus/y31AUZhMFsc[1-25-true]

Something in the Linux Kernel is sticking, causing it to run constantly and drain battery.

I thought it was wifi-related since 90% of my day is on wifi, but many people on that thread just linked to are reporting the problem with wifi off too. And it's completely random, just like mine!

I am really beginning to think that Kitkat is a piece of crap. It's bugged!

And my router settings have not changed in over a year. Everything worked PERFECTLY when on Jelly Bean. It wasn't until my phone updated to Kitkat that the problems started.

EDIT: It seems that the ATT G2 was also having similar problems, but back in April, ATT released an update that fixed it.

I'm really hoping we get an update too!!!! But why didn't they make the fix BEFORE releasing this Kitkat!?!?
[LG Optimus G Pro] zamajalo:
Have you tried giving fixed IP to the phone? Also, in BBS, under Processes and Partial wakelocks, is there something suspicious or something running wild?

Sorry, but I'm running out of ideas.
[LG Optimus G Pro] spexwood:
I don't know how to assigned fixed IPs, but as I said, the drain also occurs when I'm at work and not connected to a wifi signal.

Would assigning a static IP really do anything?

The highest partial wakelock is Google Play Services, but it only runs for like 33s out of several hours of battery drain.

Android OS is the culprit, but there's no way to fix it. (I'm really pissed off at Google right now for making 4.4.2 and LG for approving it).

I'm currently trying Anirudhks's new ROM. I used his rom while on Jelly Bean and it always had excellent battery life. It's always based off the E988, so maybe these problems I'm having are isolated to the E980. I mean, several people even replied here using E988s and aren't having problems AFAIK.

EDIT: His rom has similar, but maybe slightly better, battery drain. The phone NEVER seems to go to sleep though.

EDIT2:

I just thought of this:

ATT sent me a new battery earlier this week and that's what I'm using now. I wonder if they sent me a bad battery?

I would swap batteries right now, but the old one (which worked great on JB BTW) is dead and I don't have an external charger. I'm going to charge this old one with my phone tonight and use it tomorrow.

I'm not saying this is my solution, but if you think about it, my new battery meets all the symptoms of a bad battery: quick battery drain, warm to the touch, etc.

It doesn't have bulging though.

EDIT: Oh and sometimes my battery magically charges itself after a while with the screen off. Not much, but maybe 1 or 2%.

ANOTHER UPDATE:

I'm also trying my phone with Location on at all times, but in Battery Saving Mode.

I read today that Kitkat is VERY location dependent and perhaps (according to the article writer) if you keep location off, then Kitkat will try to obtain your location from Wifi/Data instead, which will keep your phone awake I guess. I don't know. I just that that if you kept location off, then location wouldn't even try to be obtained, thus SAVING you battery.

Unless Kitkat has just changed that much.
[LG Optimus G Pro] vivebatu:
You are one tenacious dude!!

Good to know all the stuff you posted, thanks for that

Just wondering, have you tried this?

https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix
[LG Optimus G Pro] spexwood:
I'm tenacious because this problem has messed my phone up. I used to be able to get a full day's use of this phone, but now I'm lucky to get past lunch time or about 6-8 hours.

Not to mention that I can't keep my phone in my pocket because it gets hot and uncomfortable. Google has messed my phone up and I want it fixed NOW.

That GServiceFix is not a fix, but a workaround. It's basically a bunch of bull crap.

All that does is wipe the Google Play Services cache and makes you reboot your phone.

It doesn't fix the problem at all. The GPS (again, I'm abbreviating Google Play Services) bug basically makes the GPS services stick on and never stop running once they are started automatically by the system. The only way to get them to stop running is to either force stop them or to reboot. Clearing the cache and rebooting will only stop the services until they start running again an hour or so later.

If you have the bug, you need to just wait until a fixed GPS version is leaked out (which I'm doing now. AndroidPolice releases the apk's as they are leaked by Google, and I'm getting them from there.

Or you can also uninstall the current GPS version if rooted and reinstall version 4.4.48, which is the version before 4.4.52, which is broken. I'm currently doing this now and there's only one issue. If you reboot your phone, you have to repeat the reinstall procedure because the Play Store automatically updates you back to 4.4.52. I also noticed that I was auto-updated while sleeping last night.

I can't seem to figure out how to prevent the automatic updating, so every few hours, I am forced to check the version of PLay Services to ensure that I'm still on 4.4.48.

BTW: my phone is working BEAUTIFULLY on 4.4.48! No problems at all!

[mini rant] What pisses me off if that Google is aware of this bug, yet they refuse to revert GPS back to their last bugless version and push it back out to people's phone. Instead, they keep forcing your phone to update to the broken version over and over again! It's mostly likely because 4.4.52 includes a bunch of new features like support for "Android Wear." They are reluctant to downgrade because of this.

I don't know. This just pisses me off right now.

UPDATE:

Google just release 5.0.82. I'm testing it right now.

5.0.81 worked with wifi off, but not with wifi on (they were soooooo close!!!), so hopefully this fixes that.

EDIT: Nope, it's still broken. After about an hour, the phone stops sleeping completely. The major difference is that the phone won't get as warm as it used to.
[LG Optimus G Pro] spexwood:
[Never mind... As soon as I made this post, everything on my phone freaked out for some reason and problems started again.

Sick of this!]
[LG Optimus G Pro] spexwood:
FINAL UPDATE (so for all those who are getting annoyed at me, you can now relax)

I installed the E988's stock firmware on my phone and there's absolutely no problems so far. I installed it last night then charged my phone up while sleeping. Usually the issue starts as soon as I remove my phone from the charger, and within 40 minutes, I'm already down to about 96% battery. So far, I've been using my phone for 1hour and 15 mins and the battery is down to 95%, BUT I've also been making phone calls for a total of 55m and 45s. So I'm really impressed so far!

I called AT&T up to tell them about these firmware problems. I told them about my phone getting hot, never entering deep sleep, how I've tried disabling wifi and data, disabling auto-sync, etc etc. I also told them how this was a replacement phone and my old one had the same issues once I got Kitkat and how Jelly Bean on both phones were not having these problems.

Of course, they suggested a factory reset, but I told them that I had done that for times this week and it hasn't done anything to fix the problem (100% true).

AT&T filed a bug report/complaint and then forwarded me to LG. I called LG next and told them everything all over again. They too suggested a factory reset and I gave them the death stare over the phone (I'm sick of factory rest being the solution for everything). The girl looked into the problem and came back to tell me this very promising news:

There have been several bugs found and reported in the AT&T Optimus G Pro (E980) Kitkat 4.4.2 firmware. She wasn't sure exactly what has been reported, nor if my exact issue is one of them (I'm sure it is), but their software team is aware of issues and are already working on an update to correct them. She told me that she will be forwarding the phone conversation to this team too just in case, so they can hear my problems

So, the good news is that the issues will be addressed. Knowing how things work though, it may take a month or two before the problems are actually fixed since AT&T will have to get their hands on it and bloat it up. But there will be a fix. My guess is that it will be Android 4.4.4 since 4.4.2 and 4.4.3 are both riddled with bugs that have been plaguing Nexus users and other phones. 4.4.4 supposedly fixes all these issues.

I can be hopeful and say it'll be "Android L," but realistically, this would not be true if they are "already working to fix the problems."

In conclusion, if you are on the AT&T E980 firmware and are having problems with Android OS battery drain or any other issues, then I suggest that you install the E988's version of the firmware until LG releases a fix.
[LG Optimus G Pro] zamajalo:
It's good to know that bug is reported already, but knowing how fast LG is doing... You'll use E988 firmware for a while :)

I'm glad you found a solution for your problem :)
[LG Optimus G Pro] spexwood:
Yeah, I figured that LOL.

I'm hoping that since the bugs are kind of severe, they'll kick it out faster, but who knows.
[LG Optimus G Pro] fix-this!:
this is great and all but it doesn't solve the high android os drain on aosp based roms. this would apply to stock only. this device has horrid battery drain all around. forcing me to buy another device this weekend. im positive this is kernel or modem related. Id also be pretty shocked if lg updated this phone to 4.4.4 or android L. i doubt it as its well over a year old and the lg g pro 2 and g3 are out.
[Android General] NYCDweller:
Thanks for the guide! Although the knife part seemed a little too much :)
[Huawei Ascend P6, Mate] vb_sven:
Hi,

Since the update to kitkat and emui 2.3 on my huawei ascend p6 i've been having problems with the chatheads off the facebook messenger app. When i receive a message there's a notification in the drop down menu, but no chathead is poping up on the screen. The only way to open it is trough the notificationbar. The settings are set on active so that isn't the problem! In the beginning i received a short message: messenger blocked to show dropzone...

Am i the only one facing this problem? And does somebody have a solution for it?

Take care!
[Huawei Ascend P6, Mate] Millan85:
Have you tried restoring factory settings and reinstalling facebook messenger and other apps ?

It sounds like the pop up permissions may have been revoked during the update.
[Huawei Ascend P6, Mate] XDAvatar:
Go to PhoneManager / Settings / Dropzone management and check ALL.
[Huawei Ascend P6, Mate] macklon:
But its not there

im on android 4.4.2 kitkat emui2.3 b512

my viber, muxicxmatch, facebook messager shows the same error "viber is blocked from showing Dropbox"

plz help that method didnt work
[Huawei Ascend P6, Mate] blueIBI:
are you rooted?

if so..you have to edit the build.prop file on line with privacymode=false to true and in the line with delstartupmanager=true just remove the "del"..

the build.prop is found in ../system/

the do a restart and open the phonemanager again..on the second page there you should see two more options..

and in the general settings of the manager you should be able to configure the dropzone manager..
[Huawei Ascend P6, Mate] macklon:
no. I have not rooted my phone is there any other way plz find out.n thank u

---------- Post added at 12:15 AM ---------- Previous post was at 12:10 AM ----------

there is no option of restoring factory setting ,there is only factory reset.I tried reinstalling nothing happened.
[Huawei Ascend P6, Mate] blueIBI:
actually there is no other method i know how to configure the dropzone..
[Huawei Ascend P6, Mate] yuemi143:
drop app show or dropzone headchat messenger ?

first step go to your setting/mannage apps/ on the above setting you will see reset app preference and sort by size/ choose reset app preference to turn back all apps setting in a original setting and thats it your headchat its appear on your screen.. thank you!! take note this solution is according to my expirience on my huawei p7 but try to look reset app references im sure you have function like this. thanks!!
[Huawei Ascend P6, Mate] fekomostar:
There is a method to activate dropzone. First your device must be rooted and ROM Toolbox Pro instaled. Than change ro.config.hw_privacymode=false to ro.config.hw_privacymode=true
[Huawei Ascend P6, Mate] macklon:
This worked for me I'm using huawei ascend p6 emui 2.3 b512 just try to do this it will work definitely

Sent from my HUAWEI P6-U06
[Huawei Ascend P6, Mate] klaudyuxxx:
Omg it worked. I was trying for days to fix this. Thank you...

I also use CoolTool which has a hover panel and shows you different system information.

I too have a Huawei P7.
[Huawei Ascend P6, Mate] farzad67:
good job, worked for me too, my xmod X icon in clash of clans doesn't appear, now it fix
[Huawei Ascend P6, Mate] djsswampbunny:
It worked for my Fusion 3!

Thank you very much! I was getting so frustrated. This was such a simple fix and I've been trying to figure it out for days! I kept getting a message about a dropzone setting every time I got a Facebook messenger chat head. This worked perfectly for my Fusion 3! :highfive::victory::D
[Huawei Ascend P6, Mate] move123456789:
Thanks

Thanks man it works!!! :)