Is secure folder causing Google play services to drain battery? - Samsung Galaxy S8 Questions and Answers

So basically Google play services seems to be suddenly using more ram / more battery. It is now the 2nd or 3rd biggest battery drain with the screen obviously being number 1. The only thing ive changed recently is that i have set up secure folder so iam wondering are they both connected in some way and that's the issue? Any ideas how to resolve this?

Figure out which version of Google Playservices you need. And go to apk mirror and side load it. Every few months I seem to have to do this no matter which OEMs device I am running. Attached is picture from my Note 5 Nougat. It is probably the same one but might be different double check yours.
I forgot and do a reboot after installing.

Related

[Q] NLPWakeLock issue...

In the past few days out of nowhere I've noticed a massive amount of battery life attributed to Google Services. I checked on better battery stats and the wakelocks are coming from process: NLPWakeLock.
I've searched on the net and several forums, and I'm getting very mixed info. The majority of the info points to Google Now as being the culprit, and that it's somehow related to 4.3. I actually really like Google Now and would hate to disable it. It's odd because I've had the phone a few weeks and Google Now was always enabled, but only now these wakelocks are starting to show up.
Does anyone have any further info on this? Could it be something else? I've already frozen so many things in TiBu I'm losing track!
TIA!
I'd like to just confirm in case anyone else was having this issue - it was in fact Google now.
siciliano777 said:
I'd like to just confirm in case anyone else was having this issue - it was in fact Google now.
Click to expand...
Click to collapse
So did you just freeze Now? I'm having the exact same issue -- was working fine until just recently (I think 3 days or so ago) when I started getting many wakelocks from NLPCollectorWakeLock and NLPWakeLock. I also like using Now and don't want to disable it if I can avoid it. I did find a thread in the G2 forums with a possible solution: http://forum.xda-developers.com/showthread.php?t=2453850
Basically, he deleted GooglePlayServices using Titanium, then reinstalled directly from the market and found that fixed his issue. So I just deleted it (phone auto rebooted after doing so), then got a notification saying Maps request an update of Play Services which I got from the market. Rebooting now, will keep an eye on the wakelocks and let you know how it goes.
I didn't freeze it, I just turned it off within Google now settings. I'd like to keep it on too, but it def helped battery life.
Let me know if that method you used works.
Thanks!

[Q] Bad Battery?

Is there a way I can officially know if I have a bad battery on my LGG2? When I had purchased the phone, I never really took interest in it because of it's battery life, but after hearing that it has a great battery life I thought mine was lacking. I hear people having it go for two days without a charge. Yet mine was being charged once a day or more at least. I had batterydoctor installed, and when I had it, it would say I got about 22 hours or so normally. Then 17 or so.
I took the phone to the AT&T service center to get a replacement as I felt as if the battery was bad. Yet after getting the new one, I feel as if I'm having the same problem or even worse.
I'm still getting below 20 hours, and the battery seems to die faster than expected. I do not do a lot on my phone as it is. I had previously only had BatteryDoctor control the CPU, but I purchased SetCPU to get a bit better control on my CPU. I read push notifications was more efficient than 15 minute intervals, so I set those on my email apps. I don't have a lot of widgets, or even more than two. My screen brightness is usually below half.
Am I just plagued with a bad battery, or am I doing somethings wrong here? Anymore I can do?
Along the lines of this, is there a list of what bloatware apps I can uninstall from the LGG2? I had uninstalled a lot, but I'm not really sure what is still safe or unsafe to uninstall.
The built in battery manager as of now expects my battery to last around 6-8 hours, while battery doctor says 15 hours.
You can't uninstall anything that your system needs unless you're rooted and using an application manager to uninstall, such as Titanium Backup. If you're removing apps from the stock app page, you'll be fine to remove anything that is removable.
I'm sure your battery is fine, but you didn't give us any hard proof of what's going on. Go into your Settings and check the Battery section after the phone is down to about 50% or so. My guess is, that Google Services will be the main battery culprit, with Screen somewhere behind it.
If Google Services is what's chewing through your battery, you're not alone. The easiest way to fix the issue right now is to disable Google's Location Services.
If that's not what's causing your problem, please report back here with more info and we'll try to get you sorted out.
Sent from CAMACHO, my Verizon G2 (VS980) running PAC ROM 4.3.
Vepaot said:
You can't uninstall anything that your system needs unless you're rooted and using an application manager to uninstall, such as Titanium Backup. If you're removing apps from the stock app page, you'll be fine to remove anything that is removable.
I'm sure your battery is fine, but you didn't give us any hard proof of what's going on. Go into your Settings and check the Battery section after the phone is down to about 50% or so. My guess is, that Google Services will be the main battery culprit, with Screen somewhere behind it.
If Google Services is what's chewing through your battery, you're not alone. The easiest way to fix the issue right now is to disable Google's Location Services.
If that's not what's causing your problem, please report back here with more info and we'll try to get you sorted out.
Sent from CAMACHO, my Verizon G2 (VS980) running PAC ROM 4.3.
Click to expand...
Click to collapse
I am aware I can't uninstall anything my system needs, but I am not aware of what my system needs and does not need. I know of the obvious bloatware applications, so I uninstalled those. As for other things, I am not sure of. I would like to get rid of any unneeded apps that I will not use or have no use for as much as possible. And my device is rooted. And I do use Titanium Backup.
Sorry about that, I'm not good at explaining things most of the time. I'm not really sure as of what proof is needed. Though I have checked before. Google Services seems to come up often. Android System is the second I usually see as well. Screen usually comes into third or lower. I will disable the Location Services and see how things work out.
Thanks for the help so far. If there is any other info that is needed, I will try my best to provide such things.
As far as debloating goes, I recommend installing a modified stock ROM, such as Malladus. That way you don't have to compile a list of things that can or can't be removed.
If my previous fix doesn't work, try downloading an app such as Better Battery Stats ($2.89) or Wakelock Detector (free). They will tell what's keeping your phone awake.
And then you can use an app like Greenify to prevent specific pesky apps from waking your phone and causing massive battery drain. You can use Greenify to stop Google apps as well, but it will prevent notifications from all of their apps. For example, instead of disabling Location Services on my phone, I prevented Google Maps and Google Play Services from causing wakelocks. Which worked great to keep my battery running, but it also prevented Google Voice from notifying me of new text messages and the Play Store wouldn't do automatic updates. Still, if you can live without these features, that might be another option for you until Google gets their stuff fixed.
Sent from CAMACHO, my Verizon G2 (VS980) running PAC ROM 4.3.
Vepaot said:
As far as debloating goes, I recommend installing a modified stock ROM, such as Malladus. That way you don't have to compile a list of things that can or can't be removed.
If my previous fix doesn't work, try downloading an app such as Better Battery Stats ($2.89) or Wakelock Detector (free). They will tell what's keeping your phone awake.
And then you can use an app like Greenify to prevent specific pesky apps from waking your phone and causing massive battery drain. You can use Greenify to stop Google apps as well, but it will prevent notifications from all of their apps. For example, instead of disabling Location Services on my phone, I prevented Google Maps and Google Play Services from causing wakelocks. Which worked great to keep my battery running, but it also prevented Google Voice from notifying me of new text messages and the Play Store wouldn't do automatic updates. Still, if you can live without these features, that might be another option for you until Google gets their stuff fixed.
Sent from CAMACHO, my Verizon G2 (VS980) running PAC ROM 4.3.
Click to expand...
Click to collapse
I will give it some thought on using either a modified or custom ROM. I have not yet tried that with any phone I have had before because I'm afraid that normal phone functions might not work. That and I did not have too much experience in messing with ROMs, but I have now done so on my tablets. Though I might still look for a list just in case.
I will look into these two apps to see how they might work and if they will be any benefit. I have heard of a couple other apps to try and extend the battery life as well.
I might look into Greenify as well. It sounds like it could have its use, but I'm not sure I would really use it as such. I did enjoy using Google Now, but I used it mostly for the weather. I can get any other random weather app and probably be just as fine. I don't think I ever used Location Services for anything else other than Google Now or Maps. Which if I need to use the GPS, I can turn it on once again.
Is using such apps like SetCPU a good idea? Or does that make things worse?

Absurd battery drain

Hi guys I'm really depressed because my phone is not working as it should be. There is a problem that appeared two weeks ago, my battery is having a massive drain with no apparently reason. I already tried everything, from installing a custom rom, deactivate all bloatware and Google Apps, installing different firmwares from Samsung, made several factory resets, changed my sim card, among other things. Even if I keep WiFi, mobile data, GPS, sync and all other things off, or even if I put on airplane mode and ultra power saving, that doesn't avoid my phone's battery to drain about 30% on a single night when I go to sleep and at a rate of 10% per hour in the morning. Looking at the battery usage the process that is giving me problems is gpsd which I don't know what it is. The rare thing is that if I remove my sim card this doesn't happen, or when I reset the phone with the sim in and don't activate mobile data my phone behaves normally but when I turn on data this starts happening again. Also I notice that almost never goes to deep sleep. The phone's model is G900h by the way. Here are some screens I took so you can look at this problem. I would really appreciate if you could help me because I am dying here, I rooted the phone and triggered Knox counter so I sadly lost my guarantee.
Anyone?
Do you use Google maps? It may be running in the background and draining your battery. Try disabling maps in settings and see if that fixes it
---------- Post added at 02:21 PM ---------- Previous post was at 02:04 PM ----------
http://esr.ibiblio.org/?p=4886
This link has some info on the problem, have you gone to location settings in your phone and Google settings and turned everything off related to location such a location reporting?
Yes I did turned everything off regarding location settings. I disabled maps and everything that may be using GPS. I'm sure it's not an app I have installed because I made a factory reset and disabled several bloatware and Google Apps. But I tried something drastic, with root manager I made a copy of the gpsd file on my SD and erase it from my phone. I hope that would solve this hirritating problem
steppenwolf1984 said:
the process that is giving me problems is gpsd which I don't know what it is.
Click to expand...
Click to collapse
steppenwolf1984 said:
Anyone?
Click to expand...
Click to collapse
How can you not know what gpsd is when the simplest Google search would tell you? A reasonable person would have tried a search before posting as one would reasonably expect that there is a wealth of information in existing threads for most subjects. A ten second search will answer most questions (including this one).
Google search: android gpsd
Gpsd is as you would expect from the name is probably a GPS daemon. And it's unlikely to be the culprit. Rather whatever process calls gpsd will be at fault. That is probably some program that tries to frequently check it's location or otherwise poll the GPS status. Which is supported by your observation that the problem disappears if you remove your SIM card. At the top of the list is Google now or related Google programs that are infamous for this behaviour.
Google cares a lot more about tracking your location and targeting ads at you than your battery life. A forum search will find detailed information about how to fix the issue to markedly reduce battery use in existing threads. In short by restricting the Google app's permissions. Or search my post history, I wrote about this at length a hundred or so posts back.
.
I'm sure you've already done that, but take a look at what apps/processes are running on your phone. Perhaps one of them is (part of) the problem?
Check your wakelocks,
Go get wakelock detector and let it run and see whats triggering your phone.
Never had the gpsd issue.
18 hours with 37 percent left?
You're doing pretty well,
did you manage to solve that problem? i have the same problem, even when i disable all location services it keeps draining my battery. I installed wakelock detector but it says it doens't work on kitkat.
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
steppenwolf1984 said:
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
Click to expand...
Click to collapse
did you find out wich of the gapps was the culprit? did you try disabling it instead of rooting to uninstall?

Google play-services battery drain

Got my s7 edge 4 days ago and ever since i got this nasty google play-services bug. It seems to wake up the phone, a lot.
Attached screenshot is taken just 2 hours off the charger. The amount of wakeups for the play-services is already at almost a thousand. Running completely stock with the latest apg4 build .
Tried disabling location services to no avail. Got the phone hooked up to my moto 360 and nothing else really.
Anyone knows a possible fix for this problem?
Also, the android system and android OS is quite high up in my battery overview, almost at the same level as the display.
Shameless self-bump, no one knows a solution for this problem? Tried the usual wipe play services cache already but it didnt do the trick.
Try disabling location history. Is battery life an issue? If not, I wouldn't worry too much.

[Q] S10+ Excessive Battery Drain

Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
I suppose bthat you are rooted, since using viper... Use battery stats to se exactly what is the problem, is it kernel or app related... Either ways, good quick start would be cash clear from recovery and network reset... If still draining, force stop than delete data for gplay, services and google framework this will log you out
DSX2 said:
Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
Click to expand...
Click to collapse
I'd feel pretty stupid if I rooted a phone and then considered taking it back because of battery drain. I don't know how anyone could say it seems like a faulty phone when they apparently immediately rooted it without testing the battery life. I'd suggest learning how to use a phone before rooting it and then claiming the sky is falling. Unbelievable.
Tel864 said:
I'd feel pretty stupid if I rooted a phone and then considered taking it back because of battery drain. I don't know how anyone could say it seems like a faulty phone when they apparently immediately rooted it without testing the battery life. I'd suggest learning how to use a phone before rooting it and then claiming the sky is falling. Unbelievable.
Click to expand...
Click to collapse
I've had rooted Android phones for the better part of 10 years. I also had the same problem BEFORE rooting, and flashed a custom OS to ensure the battery drain wasn't due to bloatware. In addition, if you read my post properly you would have noted that this is only an issue with a replaced S10, and was never a problem with the original S10, which means I am completely aware of battery usage life.
Keep your useless and misinformed comments to yourself.
DSX2 said:
Hey all,
Recently got my S10+ replaced under insurance (dropped it about 10 stories), and have since rooted it (magisk).
I get a crazy amount of battery drain, up to 35% an hour when using spotify (and Viper4Android). I get high CPU alerts constantly from google play services, even overnight when charging and not touching at all. Device runs very very hot too.
Just want to ask whether anyone else has had this problem before taking it back and asking for a new phone. Seems like a faulty phone but don't want to rule out a bad flash
Cheerio
Click to expand...
Click to collapse
Yeah this problem is old as Android itself the way i dealt with it in the past is i used betterbatterystats app overnight let it record who and what is sucking the battery dry. In your case it seems google services framework is the problem (surprise surprise)
If i was in your shoes i would try what @Sparkynis suggested first, clear cache and data it will delete your google account restart the phone wipe cache in recovery and add your account again if the problem is still there then you might have an app that refuses to go to sleep
and it will show up in betterbatterystats. If that fails i would wipe everything start from scratch only adding your google account not installing any apps besides the betterbatterystats to see if it's the google services framework messed up or an app you have installed that is forcing a wakelock somehow.
EdinM30 said:
Yeah this problem is old as Android itself the way i dealt with it in the past is i used betterbatterystats app overnight let it record who and what is sucking the battery dry. In your case it seems google services framework is the problem (surprise surprise)
If i was in your shoes i would try what @Sparkynis suggested first, clear cache and data it will delete your google account restart the phone wipe cache in recovery and add your account again if the problem is still there then you might have an app that refuses to go to sleep
and it will show up in betterbatterystats. If that fails i would wipe everything start from scratch only adding your google account not installing any apps besides the betterbatterystats to see if it's the google services framework messed up or an app you have installed that is forcing a wakelock somehow.
Click to expand...
Click to collapse
Thanks mate, did the battery stat's and it's the location alarm triggering a couple of times a second. Have reformatted and flashed multiple times and yet to fix the problem. Leaving location services off, however, does solve the problem.
This workaround works fine until I get my s20 but unfortunately I was not able to find the root cause. Faulty gps chip maybe? No idea.
DSX2 said:
Thanks mate, did the battery stat's and it's the location alarm triggering a couple of times a second. Have reformatted and flashed multiple times and yet to fix the problem. Leaving location services off, however, does solve the problem.
This workaround works fine until I get my s20 but unfortunately I was not able to find the root cause. Faulty gps chip maybe? No idea.
Click to expand...
Click to collapse
Try looking into Google Maps that app triggers location services ALOT even when not running, i have the Unlocked s10+ U1 and even i notice the same thing with Location off i lose 2% of battery overnight with it left on i lose about 9%
Do uninstall google maps and let me know if it's the same. Also i used to have an app called wakelock detector full i haven't used it since my gf bought me the s10+ last version i have is 2.0.4 last updated in 2017 lol but it helped me find apps and system services that are awake and using cpu alot maybe that will help you find the cause

Categories

Resources