yashsingh1/xdaforums huggingface dataset:
[G4 Q&A, Help & Troubleshooting] I Like Soup:
Thanks for this. It brought my Android System under control and significantly improved my battery life...well, closer to where it was before I rooted! :)
[G4 Q&A, Help & Troubleshooting] toshiuser:
No luck,

even with Version (448) the problem persists.

I examined the problem again:

When I disconnect the phone from the power supply in the morning, it usually works normally. During the course of the day, at some point (not predictable), the GPS icon shows up for 2 minutes, grays out, disappears and comes back after a short time. Being in this state, Android system drains the battery due to high GPS usage (even if no app is active and even if locked in idle mode).

Now the interesting part:

If I open Google maps being in the problem state, it just takes 1 or 2 seconds to obtain a GPS fix. If I close it right after the fix, the GPS icon is gone and the phone behaves normally - sometimes for several hours. When GPS icon comes again and stays, I simply repeat the process.

For me it seems, that location service in Google play services is faulty since it sometimes cannot obtain a GPS fix whereas the algorithm in Google maps does it instantly.
[G4 Q&A, Help & Troubleshooting] s4vva:
Very well described, I am seeing the exact same problem. I even upgraded to play services 448 like you.
[G4 Q&A, Help & Troubleshooting] faizalotai:
:good:..Thanks..now i know why battery life became poor...time to revert...:laugh:
[G4 Q&A, Help & Troubleshooting] toshiuser:
I installed the new Version of Google Play services 8.1.05 (2218116-248) from APK mirror.

Still the same problem :(

What is the best way to make Google or LG aware of this problem?
[G4 Q&A, Help & Troubleshooting] faizalotai:
I'm using it now, so far so good..let see for the whole day usage how's it going..:cool:
[G4 Q&A, Help & Troubleshooting] Almighty1:
Just curious but what is a app ops application exactly?

---------- Post added at 05:50 AM ---------- Previous post was at 05:44 AM ----------

Where can I get the Goople Play Services drain fix?

---------- Post added at 06:04 AM ---------- Previous post was at 05:50 AM ----------

Are you sure it's -220 since -2xx did not exist before version 8 of Play Services and for the second digit, 2 does not exist as it's only 1, 3,4,7.

Also, how does one uninstall updates of Google Play Services as when I go to Applications Manager, it doesn't even allow me to stop it, it only has disable and there is no uninstall updates option.
[G4 Q&A, Help & Troubleshooting] toshiuser:
You are right. It was -440 and not -220.

To be able to uninstall Updates in Google Play Services, you have to disable Android Device Manager under Security first. However, in my case even the latest Version has the problem.

AFAIK there's currently no drain fix.
[G4 Q&A, Help & Troubleshooting] Almighty1:
Thanks for the info, so basically the G4 (I have the Verizon Wireless version) will work with either -x40 or -x48 where x is 4 for versions < 8 and 2 for v8. Are you using the latest 8.1 version of Google Play Services? As for the drain fix, I am referring to what rogconnect mentioned.

I actually just tried to disable Android Device Manager under Security -> Phone Administrator but it's not disabling as when I click on it, it has Cancel and Deactivate, I chose Deactivate and it returned to the Security menu but the box is still checked. Also, is it the LG G4 or is it Lollipop because I know on my previous Motorola devices which ran Froyo 2.2 all the way to KitKat, if you delete the .apk from /data/app which is a update to the one in /system/app and reboot, it will just use the one in /system/app but on the LG G4 which instead of the .apk in /system/app and /data/app, it's basically a folder with the app name with base.apk inside the folder, if I delete the /data/app folder for that app and reboot, instead of using the one in /system/app, it will not even see the app as installed.

Update:

I just went to check the phone which was still on the Phone Admin screen and it's 11 minutes later, the Android Device Manager shows as unchecked so it seems like it takes some time before it deactivates.
[G4 Q&A, Help & Troubleshooting] toshiuser:
I referred to settings - security - device administrators

The attached screenshot shows up (my device is German; the “Android Geräte-Manager“ in the middle is the Android Device Manager that has to be unchecked).

Currently I'm back to 7.8.99 - 440, since this is the latest “official“ Version and the 8.1.x didn't solve the problem on my device...
[G4 Q&A, Help & Troubleshooting] Almighty1:
Yes, that is what I am referring to as well, just couldn't remember the exact name as my phone is in the other room, basically Android Device Manager would not deactivate as the box was still checked and finally deactivated either it took some time or it's because I had to do the deactivate multiple times. One thing interesting is I am back at 6.x.x.x-448 and when I run Google Drive, it prompts me to update so it sends me to Play Store except the only options are uninstall and Open, there is no Update so now I'm sending 8.1 via dropbox instead. Did you try to clear data on Google Play Services first and then run GPS and configure everything again?
[G4 Q&A, Help & Troubleshooting] toshiuser:
Yes, the only thing I did not try so far is a factory reset. Probably I will give it a try next weekend...
[G4 Q&A, Help & Troubleshooting] mcnick0495:
App ops lets you control what permissions applications have access to.
[G4 Q&A, Help & Troubleshooting] Almighty1:
Good luck.
[G4 Q&A, Help & Troubleshooting] Almighty1:
Cool and thanks, just installed AppOpsXposed. If I disable location permissions for Android System, would this cause Location History, the one that tracks your location not to work?

Another question, is Android System the same thing as Google Play Services because according to the thread below, it seems they say to turn off everything in Google Play Services except for Location.

http://xdaforums.com/android/general/guide-google-play-services-battery-t2832631
[G4 Q&A, Help & Troubleshooting] mcnick0495:
If disabled, your phone will still work the exact same for location and location history. The location by Android System is probably used by CarrierIQ, the nasty spyware that plagued the G3.

Android System is not the same as Google Play Services. Leave everything on for Google Play Services, because in Lollipop (mostly) Play Services basically makes your phone run properly.
[G4 Q&A, Help & Troubleshooting] Almighty1:
Thanks! I read someone mentioned CarrierIQ earlier in this thread or another thread, had no idea what it was. I disabled location with Android System and the battery is still draining exactly the same. With screen brightness at 38% (Auto), it still seems to drain the battery about 1% every 2 minutes making the battery last only 2 hours. Not sure what is causing it but it seems like with lots of apps installed even though most don't run on it's own, play store downloading in regular mode would download, stall and either restart the download or just sit there for a long time like 20-30 minutes before it goes into the installing stage and sometimes the download/installing will fail while it works like a new phone when doing it in safe mode.
[G4 Q&A, Help & Troubleshooting] toshiuser:
A guy in another forum with the same problem did a factory reset from scratch, i.e. no backup just re-configuring every Setting manually.

After half a day of usage, the problem came back...
[G4 Q&A, Help & Troubleshooting] wadamean:
That's weird you all are having android system drain and what not. Mine stays very low every day since I rooted, even since I got the g4 I have not had it pass 10percent.
[G4 Q&A, Help & Troubleshooting] toshiuser:
A little update:

The problem of huge battery drain with GPS almost always on when in mode “High Accuracy“ (even without running Apps actively) is definitely a software problem.

I did a factory reset from scratch, reinstalling my apps and doing all the reconfiguration manually. Problem still there. Then I asked for a phone exchange, but the new phone also had the problem...

Now I use my phone with GPS set to “battery saving“, since this is the most stable setting with least battery drain. However, whenever I use navigation, I have to switch to “High Accuracy“ or “GPS only“ manually and switch back afterwards. It's annoying! Please, LG, release a fix...
[G4 Q&A, Help & Troubleshooting] One Twelve:
That's the weird bit, it seems to affect some but not others.
[G4 Q&A, Help & Troubleshooting] JeffXT:
I have a VS986 (Verizon) and experiencing this battery drain issue.

I can confirm a few things:

The issue occurs when my location is set to High Accuracy, but not when it's set to Battery Saving

The two apps that use location the most is the Google App and Google Play Services (under Battery, it's "Android System" and the reason is because the GPS is being used)

My Google Play Services is v8.1.18 (2272748-240)

I have disabled many apps using the Debloater tool on XDA

Wiping Google Play Service data only temporarily fixes the issue

The only thing I can think of is disabling CarrierIQ. Can someone give me the package name/apk name, so I can disable it?
[G4 Q&A, Help & Troubleshooting] thatITguy:
I just installed App Ops and trying this fix. Hope it works because Android System was always the highest battery hog whenever mine would drain over 50% in 8 hours even though the phone was in standby.
[G4 Q&A, Help & Troubleshooting] Eric618:
I literally have everything for Google Play Services disabled and I noticed no ill effects.
[G4 Q&A, Help & Troubleshooting] One Twelve:
From your opener, android system

keep awake : 8h9m

GPS : 11h 18m

Now, how much have you reduced the above since ?
[G4 Q&A, Help & Troubleshooting] toshiuser:
With GPS set to “Battery Saving“, I normally have no GPS Time and Keep Awake is only several minutes (less than 10).

However, I had GPS battery drain even with this setting (GPS several hours), but this happened only once.

But with GPS set to “High Accuracy“ the phone is pretty much useless, dead after only two hours of SOT.
[G4 Q&A, Help & Troubleshooting] One Twelve:
Disable chrome and try nochromo

http://xdaforums.com/android/apps-games/app-nochromo-wild-browser-appears-t3130776

hmm, is this on wifi or data ?
[G4 Q&A, Help & Troubleshooting] toshiuser:
It's a mix of both. With battery drain problem, I can get 2 to 3 hours SOT. Without problem (i.e. GPS on Battery saving) it's usually more than 4.5 hours.
[G4 Q&A, Help & Troubleshooting] One Twelve:
Is Google now and location history disabled ?
[G4 Q&A, Help & Troubleshooting] Piyush jaiswal:
Yep factory reset does fix battery drain from android system.
[G4 Q&A, Help & Troubleshooting] toshiuser:
No, I always have them both activated.

I tried disabling these during troubleshooting, but the problem was still there.
[G4 Q&A, Help & Troubleshooting] One Twelve:
How long for ?

bit of a drastic step as you lose everything and have to start to scratch. Last resort.

---------- Post added at 10:06 PM ---------- Previous post was at 10:04 PM ----------

How many battery cycles did you disable them for ?
[G4 Q&A, Help & Troubleshooting] toshiuser:
I did a Factory reset, Setting up everything from scratch. --> no success

I even exchanged the phone for a new one --> no success, same problem.

I don't remember, perhaps 2 cycles..?
[G4 Q&A, Help & Troubleshooting] Piyush jaiswal:
In location setting untick all three!

Maybe some system app keeps your cpu or screen awake in background.

Get greenify hibernate those apps.

I did that too,trust me i've got fix!

Hope that helps!

:)
[G4 Q&A, Help & Troubleshooting] One Twelve:
Hmm, and you say GPS still showed up in android system...

So something is running up the GPS. What ?

location aware apps that will switch on your gps even if it is for all intents and purposes off.
[G4 Q&A, Help & Troubleshooting] toshiuser:
Yes, thats weird, isn't it? And the weirdest thing is that opening Google maps while in this problem state, waiting for 2 seconds to let get it a GPS fix and then closing it, makes GPS stop and behave normally, sometimes for several hours.

While in problem state, it either gets no GPS fix (whereas maps gets it instantly) or something hinders GPS to turn off properly. GPS icon always flashing...
[G4 Q&A, Help & Troubleshooting] Almighty1:
I got my phone to last from 2 hours to 9 hours by greenifying all the non-system apps except those that needs to run to work correctly.
[G4 Q&A, Help & Troubleshooting] One Twelve:
So android system does not show up in your battery use table ?

---------- Post added at 04:00 PM ---------- Previous post was at 03:58 PM ----------

Fancy trying again ? this time for a week.

Do you have any weather widgets or any widgets you think require your location to function. Try disabling them.
[G4 Q&A, Help & Troubleshooting] Almighty1:
This is how it's listed now:

Screen 20%

Android System 9%

Android OS 8%

Google Play Services 8%

Google App 6%

In Titanium Backup, I have 719 apps which includes system apps and basically it seems like once I install a x amount of apps, Android will start choking as before I greenified, Google Play Store when downloading and installing only worked by luck in regular mode as it will download and hang and abort on it's own or it will download and restart download and hang or if lucky, it will eventually install. Safe mode, Google Play will work fine.
[G4 Q&A, Help & Troubleshooting] One Twelve:
How much GPS & keep awake shows up in android system at the end of the cycle ?
[G4 Q&A, Help & Troubleshooting] Almighty1:
No idea yet since I'm about to put it back on the charger as it's at 35% now after 5 hours on battery as I'm trying to see if I fixed the stuck battery indicator % charging problem I am having...
[G4 Q&A, Help & Troubleshooting] One Twelve:
When you say 9 hours do you mean run time ?

you get a total run time of just 9 hours. what is your battery level at after 9 hours.

On wifi or data or is it a mix if so what is the split.
[G4 Q&A, Help & Troubleshooting] Almighty1:
9 hours means from unplugging from the charger to the time the phone powers off at 0%. It's slightly more than 9 hours. GSam Battery Monitor shows the battery drains at 11.2% per hour.
[G4 Q&A, Help & Troubleshooting] One Twelve:
on wifi or data
[G4 Q&A, Help & Troubleshooting] Almighty1:
data with bluetooth on for Kwikset Kevo app although yesterday, it was wifi...
[G4 Q&A, Help & Troubleshooting] One Twelve:
How much run time do you get with wifi alone ?
[G4 Q&A, Help & Troubleshooting] Almighty1:
9 hours. as yesterday was with wifi, screenbl lite. Today 9 hours with wifi and Gravity Screen.
[G4 Q&A, Help & Troubleshooting] One Twelve:
And what was your total sot yesterday ?
[G4 Q&A, Help & Troubleshooting] adrianhoria:
Hi, it's already 1 month i've bought my new g4. I like this smartphone a lot, but my battery time it's a little bit strange. In stand by I think my battery is ok, 4% drain in 6-7 hours during the night 50% in 24h with light usage. But when i'm using it it drains pretty fast, 3h sot max (2h49 for gsam). I'm a little bit dissapointed, but maybe i'm missing something ? Thanks
[G4 Q&A, Help & Troubleshooting] Almighty1:
1 -2 hours on both days.... I had 2 hours battery life even with the screen completely off the entire 2 hours before. So before I greenified, 2 hours was standby time, 0% screen time or 100% scrreen time, doesn't make a difference.
[G4 Q&A, Help & Troubleshooting] One Twelve:
so on wifi only, with greenify you're getting a 1-2h SOT with a total run time of just 9 hrs.

You're saying that without greenify that your battery gets flat in two hours whether you use it or not.

have i understood this correctly so far ?
[G4 Q&A, Help & Troubleshooting] Almighty1:
Yes, because the weekend, I stayed home and really only tried to tweak the phone and didn't use it more than 2 hours.... So you're correct. The other thing is without greenify,

battery charging would get stuck at some percentage like 73% or 74%, rebooting to safe mode made no difference, only can charge to 100% when the phone is completely off, greenify fixed that.

Same issue with Google Play Store downloading before greenifying... Downloads would go like one of the following:

Download, pause forever and then install in 10 minutes or 1 hour

Download, pause and stays stuck, the install never happens

Download, pause, download restarts, and either it will abort or it will install

Remember I have 719 apps installed even though only a dozen or so run in the background.

Also, the other thing that greenify fixed was the Smartbulletin and the Amazon Suite homescreens where some items like LG QuickRemote would be stuck on loading.
[G4 Q&A, Help & Troubleshooting] One Twelve:
What is the max sot/run time you've got in normal usage. with greenify.

with wifi only.

with data only or a mix with wifi.
[G4 Q&A, Help & Troubleshooting] Almighty1:
You need to ask that after another month or so because I've only used greenify for exactly 2 days and I don't use the phone when I'm home. I haven't gone out the front door since Friday.
[G4 Q&A, Help & Troubleshooting] One Twelve:
Does this thread offer any hints to you ?

https://www.reddit.com/r/Nexus5/comments/1y96zm/battery_drain_caused_by_android_os_possible/

once the google location services has enough info about the location this problem usually disappears.
[G4 Q&A, Help & Troubleshooting] toshiuser:
I tried this for several days now, but nothing has improved.

There seems no solution other than a firmware update by LG.

Hopefully the marshmallow update fixes it...
[G4 Q&A, Help & Troubleshooting] One Twelve:
yeah i realised now that your issue is about android 'system'. That reddit post was about android 'os'.

i'm wondering if you set location to high accuracy. whether that fixes anything. gps will come on for 10 s now & then but on other devices i've tested the gps amounts to just 30s over a whole day.
[G4 Q&A, Help & Troubleshooting] thatITguy:
I just had to send my G4 in. Again. The battery drain is unreal and my phone would overheat. The overheating issue would happen even in standby. I would go to pick it up and it would be very hot. The battery drain issue sucked because I would barely get 4 hours use and it wasn't even heavy usage. I though it might be a bad battery but happened on two different batteries. Using App Ops to limit Android System, and a few other apps, from using location helped but not much.

It really sucks because the battery in my old Galaxy SIII lasts almost 20 hours. I've been using the old GS3 while the G4 is at the repair facility. I use it the same as I did the G4 with all of the same apps installed. The only difference, software wise, is the GS3 runs Android 4.4.4 and the G4 is 5.1.
[G4 Q&A, Help & Troubleshooting] SoreGums:
Same here man - just spent a while reading this whole thread...

- overheating in standby

- unreal battery drain

"Android System" is out of control. Wifi stay on the whole time, even though I say "only when plugged in" and have turned off "wifi scanning". I've turned off WiFi completely today and will see what happens. I don't have a model that can be rooted (well officially from LG, haven't looked into any alt methods for my H815)... Running GSam Battery Monitor always shows Android System at the top of the list.

Put Location into device only mode, however last night while sitting idle for 30mins 20% battery was zapped and was getting hot, 38c. And since Android System = 46 packages it is not simple to narrow down the culprit. Especially with no-root I can't just randomly disable apps via Titanium Backup...

Because non-root can't use App Ops/Greenify, however I found the hidden Access Lock screen via QuickShortcutMaker. Of course though none of the Android System packages show up in there to restrict location etc...

This issue has only been happening since I updated to V10c-TWN-XX - The situation totally sucks, oh well, maybe Marshmallow will fix it....

(The only reason I'm staying with the G4 is because the camera is F'n AWESOME!!! and when it is working smoothly it is great. I was on a Nexus 5 before and was hoping the 5X was going to be same phone with upgraded internals [CPU, 3GB ram, 64/128GB storage,G4 camera] - oh well, 2016 flagship specs will be this or might give the 6P a spin as ChromaOS will be on that)
[G4 Q&A, Help & Troubleshooting] One Twelve:
So..one month later, what is your sot, given you live in a bordrline 3/4g area on verizon ?
[G4 Q&A, Help & Troubleshooting] Almighty1:
SOT is still around 3-4 hours and SOT isn't the important part because even if the phone was left idle unplugged from the charger without being used which means zero SOT, it would still drain the battery 12 hours later. Note that while I have Amplify Pro installed, I still haven't done anything to bounce the wakelocks yet so everything is basically handled by Greenify and Power Nap. Gravity Screen On/Off is always running. I just added Lux and I should mention that I have all sync's enabled and these are the whitelisted stuff, Google Photos, Facebook, Gmail, Inbox, Media Insider which runs VPN 100% of the time, WhatsApp, WeChat. I've had the phone activated since August 18 or so but have not made any voice calls yet. I have GPS Location set to High Accuracy and also am using the CTT Throttle Mod v2.1.
[G4 Q&A, Help & Troubleshooting] One Twelve:
How would you characterise your use ? light, moderate, heavy. if its the first two then you should be getting double the standby.

I suspect your cell radio is hunting for a 4G signal or doing constant handover to 3g and back and forth.

can you mention your cell signal in dBm for 3g and 4g ?

That's a lot of work for what should work ootb.

have you disabled carrier apps yet ?
[G4 Q&A, Help & Troubleshooting] Almighty1:
Light as I really use the phone off the charger when I'm waiting for transit and to check-in with Swarm. The phone has 745 apps installed which is restored using Titanium Backup even though some apps no longer exist on Google Play any longer as I started building my app library since late 2009. I'm still wondering how some people can get 24 hours standby and 5 hours SOT unless Greenify is not stopping the wakelocks even though I pretty much Greenified everything except system apps and the few apps I mentioned earlier. Since I am getting unlimited data, I have actually turned WiFi off unless I needed it for Chromecast or something. The 745 apps includes the system apps and carrier apps as the only thing I disabled is System Updates LGDMSClient.apk. I noticed even if I download, the phone does heat up in the upper portion of the phone. I also have Lux Pro running since yesterday which is also not greenified and running all the time.

Right now, the 4G is -112dBm which shows 3 bars, a lot of times, it will go down to 1 bar. No idea what 3G reads until it switches to 3G when it feels like it. Today, even when I went out, the phone seems to stay stuck at 4G in a area where the bars are usually full so perhaps this phone really is not good for RF Performance compared to Nokia and Motorola. Hopefully it's not as bad as Sony Ericsson.

1X shows -92dBm. I hope I don't have a defective battery because of the stuck battery charging indicator.