Battery drain in Galaxy S4 + NlpWakelock and NlpCollectorWakelock + Workaround - T-Mobile Samsung Galaxy S 4

I have Samsung Galaxy S4 (TMO) running on rooted stock ROM 4.2.2.
Off late, I have been observing that the battery is draining much faster than it should be.
Earlier it typically used to consume ~12% of the battery during night time (when the phone is not used at all).
However, off late my battery is draining rapidly and is not standing for at least 8 hrs.
I checked the battery usage and got to see
Google Services (v4.3.11) is ranked higher at ~52% followed by
Screen
Android System
Android OS
etc.
I used Wakelock Detector to see what items are causing this drain.
I figured out that under Google Services the top ranking battery eaters are
NlpWakelock
NlpCollectorWakelock
So I tried couple of different things by disabling Google Sync. Even then, there is no change.
The following is what I did which fixed the battery drain:
1. I disabled/unchecked the Settings -> Location Services -> Location Sources -> Use wireless sources
After this, I checked the usage in the Wakelock Detector.
NlpWakelock : This one is now stopped and I don't see any activity with this wakelock
NlpCollectorWakelock : This continues to have wakelocks and is still ranking higher.
2. Now I set the Settings -> Location Services -> My places -> Home -> Selected Method -> None.
Earlier I had this option set to be identifying my home using my WiFi network. This is causing continuous In/Out data transfer (most probably polling to the network to check if the connection is alive) in the status bar observed by the WiFi icon. Once I set this to None, I don't see continuous In/Out data transfer in the status bar.
Apart from the above, I did power off the phone and removed the battery when it showed <5%. Left it like that for couple of hours. Then re-assembled and then it showed me 10% and recharged it after that. I did this on purpose to calibrate the battery (but not necessary) due to continuous discharge/recharge cycles happened for the last couple of days.
After recharging it to 100%, I left the phone without using it for 4 hrs to observe the wakelocks. Voila, the Google Services is at the bottom of the list. The above two wakelocks are no more seen under the Google Services. By the way, I did have the Google Sync on during this observation. I observed 1-2% battery drain for each one hr.
After this, the battery drain is not happening. For the past 9 1/2 hrs, accessing - Facebook, google search, The Weather Channel - couple of times resulted in 17% battery drain so far.
UPDATE: It's been almost 22 1/2 hours by now... the battery is now at 52% after a normal usage of accessing - Facebook, google search, The Weather Channel, CNN, TOI, Google+, phone calls and having Google sync on.
Hope this helps anybody else having a similar problem.

Greenify.

Yeah it's been well documented that Google Service locations(mainly the "Wi-Fi and cellular network" option) will drained the battery quick.
???

Thanks for this info. My phone started dying in the middle of the day when it didn't used to. I'm not sure if I updated something and it caused these settings to change but I will see if this helps.

This didn't help me. I have massive battery drain. I made a few wipes, changed different stock roms. Now I'm on Google edition ROM and It's the same. Nlpwakelock is a nightmare for me. Could it be a third party app problem?

Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app

uresh.kuruhuri said:
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.

radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
Which app is showing to be using the NlpWakeLock?

radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
One more thing, after doing any changes, in order to get fresh wake lock information, you need to restart the phone. That way, you would know if the NlpWakeLock is being used from the fresh restart. However, if you see the Battery stats from the phone Settings, it would still show the information from the last recharge.

uresh.kuruhuri said:
Which app is showing to be using the NlpWakeLock?
Click to expand...
Click to collapse
Google Play Services. I tried to restart the phone. More info about what I tried is here
Edit: I turned off Location Reporting and History, and it's much better. Google Now is making wakelocks now, but only few. Anyway Google ****ed up their own services.

Related

Event log service battery drain

I currently have a problem that "Google services -> event log service" is draining my battery a lot,
I was asking this in another thread about this problem but got told I should ask here in the specific forum for my phone.
I fully charged it during night and at 2:30am I rebooted the phone and unplugged the charger.
Now in the afternoon at 5pm I checked again (haven't used the phone since then) and battery was at 62 %
Wakelock detector is showing an activity of Google-services/Event log service with 1 hour 43 minutes.
Wlan off, 3G on, GPS off, bluetooth etc off.
I disabled all unessesary syncs including google backup/restore, not helping at all.
I checked developer settings for log recording etc.. but everything is off.
It's the international E975 model btw,
I have the same issue. I think i tweaked it too much lol.
Partial wakelocks in BBS indicates EventLogService has been on for 5h.. -_-
Have you done any tweaks to it? I.e: freeze anything from titanium, greenify, etc
This is a result of frozen apps.
jiexi said:
This is a result of frozen apps.
Click to expand...
Click to collapse
hi there
so if i check what apps are frozen and uninstall them, this will get rid of the problem basically, that simple??
It may just cause more problems. The reason the wakelock is even appearing as event log service is because the app is frozen, but causing wakelocks. But wait, didn't we freeze it?.. how can it still be causing wakelocks? Some other system level app is still capable of waking it, so it may or may not be something important.
jiexi said:
It may just cause more problems. The reason the wakelock is even appearing as event log service is because the app is frozen, but causing wakelocks. But wait, didn't we freeze it?.. how can it still be causing wakelocks? Some other system level app is still capable of waking it, so it may or may not be something important.
Click to expand...
Click to collapse
cheers, actually i have LOTS of wakelock time taken from these 2:
1) Alarm Manager - Android System. this one grows by 5 units every time i unlock the phone and check, NORMAL??
2) Event Log Service - Google Services, this one is a bit more quiet but still growing silently.
Things i have on:
usually sync, but those 2 above grow regardless of sync being on or off, then i have 2 alarms in the calendar, one active and one not and some calendar notifications.
are those responsible? right now my phone is doing around 2% battery use but i notice that it grows very easily, just now i lost 1% in only 25 minutes.
the "awake" graph under battery looks strange.. sometimes it matches screen off (so good), sometimes, it seems to be on, with screen OFF for no reason whatsoever.
any idea?
thanks

[Q] Battery drain on Note 2 after 4.3 update

Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock detector, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
I had the very same problem until yesterday myself but think I found a solution on the web.. Uninstall Google Search and Google Play Services and the goto the Play Store and wait for them to reinstall and that's it....! As I found that there is a bug in Google Services (Nlpwakelock and Location service)
Hope this helps...?
Sent from my GT-N7100 using xda app-developers app
terzisc said:
Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock defender, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
Click to expand...
Click to collapse
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app
yeminswe said:
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app[/
Thanks. I already have Wakelock Detector on. I mistakenly wrote "defender" instead of detector on the original post. It gives me Viber and Messenger as the most active wakelock apps. But they both were not installed when the problem started. Besides, on the 4.1.2 they created no problems. In essence I believe that Wakelock Detector cannot help much. Whatever this problem is , it is well hidden. Thanks for your interest and help anyway. Much appreciated.
Click to expand...
Click to collapse
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Manjunath324 said:
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
terzisc said:
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
Click to expand...
Click to collapse
Which kernel you are using? And also i recommend using Greenify. Widgets usually eat a lot of battery, I went from battery lasting only 8 hours to get my battery use only 30% in 8 hours.
What i did: installed wakelock detector, gsam battery monitor and better battery stats.
Monitorized the wakelocks.
Applied greenify to the apps which were waking most
Removed widgets which were waking alot
Installed Toggle 2G.
Kernel settings: 200-1600mhz | zzmoove | AFTR+LPA | Multicore power saving (SCHED_MC) = 0 | GPU = stock settings
Works like a charm for me. Hope it helps! Any question, ask!
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Nukkels said:
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Click to expand...
Click to collapse
Thank you for the suggestion. I have already taken the battery on and off several times. It had no improvement. The phone is only a year old, that is why I don't believe the battery is the culprit. Besides, problems started only after the 4.3 update. Before that it was working perfect. Too much of a coincidence.
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.
Nukkels said:
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.[/Q
Thanks mate
I think you are right. It is probably a combination of many things. I have opened the Developer options some time back. The one thing that I do for sure in there is limit background processes to 4. Besides that I don't experiment much, exept maybe to change transition animation scale. I am actually thinking of rooting the phone and downgrading to 4.1.2. It was just fine before. I can live without the 4.3 add ons.
Click to expand...
Click to collapse
Problem still persists, even with Google+ and most other Google applications disabled

			
				
Sent from my GT-N7100 using xda app-developers app Some screenshots taken from 3 different apps. Wakelock detector, Better battery stats and Gsam battery monitor
Sent from my GT-N7100 using xda app-developers app
The only battery apps on my phone are the 3 mentioned above, so I don't know what the battery monitor that keeps my phone awake is. The drain existed before I installed these apps. I have read that Chrome could prevent the phone from going to sleep but it is disabled on my phone.
Sent from my GT-N7100 using xda app-developers app
http://www.youtube.com/watch?v=ak1sYWRaEKg
I faced same battery drainage issue, after installing wanam kernel and freezing all bloatwares through Titanium Backup. I'm satisfied with my battery now.
You can try.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Here is detail-
Disable sync always, enable when needed.
Disable wifi always scan from settings
Display set to auto
Uninstall apps of playstore you rarely use
Use widgets on lock and homescreen as less as you can (I don't use any)
Disable motion on settings
Freeze all bloatwares by TB except allshare and samsung content agent
Install Agni kernel, from agni control app-
profile: normal
Governor: pegasusq
Scheduler: cfq
Don't touch other tweaks, hardly you can tweak sound boost.
THIS GIVES ME A SATISFIED BATTERY STATUS.
regards.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Wew 4.3 does have may bugs

[Q] Google Services Draining Batery

Dear Community!!!
So Days ago i upgrade my Xperia ZL to kit kat, everithing ok a couple days, fantastic.....but, was suddenly my phone without battery, the problem? google play service was draining the 85% to my battery. When i upgrade to 4.3 firmeware i had the same trouble and then i maked to flash again. Also, this time i just did a factory reset and then everithing ok a couple days... but again, suddenly, google play service is draining all life to my phone...So, somebody knows whats the problem anda what can i do (whitout flashing again)... thanks buddies
The issue is a location wakelock, there are two ways around it disable location if you don't use it, or disable Google now.
If you are rooted, u can uninstall the Google search app from system and reinstall it from play store
Sent from my C6502 using Tapatalk
thanks
xyge said:
The issue is a location wakelock, there are two ways around it disable location if you don't use it, or disable Google now.
If you are rooted, u can uninstall the Google search app from system and reinstall it from play store
Sent from my C6502 using Tapatalk
Click to expand...
Click to collapse
Ok, if i understand, i must disable location? how i do that? yes i root i gonna unistall google serch and a itold you... very very thanks dude....
Nothing works
Nope.... google servicise going to drining my life.... sucks... check it
Prome7eo said:
Nope.... google servicise going to drining my life.... sucks... check it
Click to expand...
Click to collapse
you have an option in settings to disable location
since you are rooted,look for "wakelock detector" and "disable service" in play store,
'wakelock detector' will tell you what apps or services are causing it, and then u can disable that particular service using the 'disable service' app
Thanks a lot
xyge said:
you have an option in settings to disable location
since you are rooted,look for "wakelock detector" and "disable service" in play store,
'wakelock detector' will tell you what apps or services are causing it, and then u can disable that particular service using the 'disable service' app[/QUO
A lot of thanks Xyge... I download the app than you sugest and AppOps to remove permissions at Google Search, especifically location and screen awake... apparently works better and services not drining the battery... Again XYGE thanks a lot
Click to expand...
Click to collapse
Anytime brother, we are all here to help!
Sent from my C6502 using Tapatalk
I discovered something else.
I reinstalled my Phone again with Android 4.4.2. I installed all my apps. Using the Google Now Launcher.
Batterie consumptions seems normal. I see wake locks but acceptable.
But when driving to home from work I used Avertinoo (A radar notifying application that uses GPS). At home I closed the application. But suddenly I saw that the phone stays awake all the time. And Google Service is responsible for 86% of battery consumption.
Only solution, restart of the phone.
I did several test with this application. A short usage of the application does not seem to trigger the problem.
I did a test with Navigon (Navigation software) and I got the same problem.
So I think any application using the GPS for to long, will cause a problem with the Google service (endless loop due to time out ?).
xyge said:
you have an option in settings to disable location
Click to expand...
Click to collapse
Instead of disabling location, setting the location mode to "device only" was enough for me.
dmeerpa said:
I discovered something else.
I reinstalled my Phone again with Android 4.4.2. I installed all my apps. Using the Google Now Launcher.
Batterie consumptions seems normal. I see wake locks but acceptable.
But when driving to home from work I used Avertinoo (A radar notifying application that uses GPS). At home I closed the application. But suddenly I saw that the phone stays awake all the time. And Google Service is responsible for 86% of battery consumption.
Only solution, restart of the phone.
I did several test with this application. A short usage of the application does not seem to trigger the problem.
I did a test with Navigon (Navigation software) and I got the same problem.
So I think any application using the GPS for to long, will cause a problem with the Google service (endless loop due to time out ?).
Click to expand...
Click to collapse
it's actually a wakelock, whenever an app requires the phone to be awake(say use gps) it sets a wakelock until some condition is satisfied(as u said endless loop), point is its not due to time out but some weird issue that is coming up with the google apps of our particular device....that's why a restart solves it or at times it may not occur for hours of usage of an app and next time it may occur after a minute.
the disabling of services or location is a temporary solution right now.
I tried to clean up all google apps in system and install the latest gapps and odex them.....until now i havent seen any battery issues(in fact usage is not even visible).....i'll report the findings after a fair usage so i can be sure if it does fix the issue.
I uninstalled Google Search from system and installed from the Playstore, then disabled location reporting and my battery seems to go to normal draining
maxee23 said:
I uninstalled Google Search from system and installed from the Playstore, then disabled location reporting and my battery seems to go to normal draining
Click to expand...
Click to collapse
How to I uninstall it from system.
I have root of course. I tried root uninstaller from the play store but it just replaced it with the factory version.
Sent from my C6506 using Tapatalk
Sirence said:
How to I uninstall it from system.
I have root of course. I tried root uninstaller from the play store but it just replaced it with the factory version.
Sent from my C6506 using Tapatalk
Click to expand...
Click to collapse
you don't have to uninstall or install anything
just go to sittings\ security and disable Google reporting
that's all
a little update is coming
On PTCRB there is a new Version certified .233
Maybe this will fix the battery draining.
http://www.ptcrb.com/vendor/complete/view_complete_request_guest.cfm?modelid=22622
I was having this draining problem (happened out of nowhere, a full week after installing the 4.4.2 update).
Uninstalling Google Search and reinstalling it through the Play Store didn't worked (kept having Google Services draining more than 80%).
Setting Location mode to GPS-only didn't worked neither. Turning location off worked, but disabled my location-based apps, has expected.
What did worked for me was going to Setting -> Location-> Location Services (Google Location Report) and disabling both Location Report and Location History.
Now Google Services DOES NOT DRAIN more than 2% of my battery. CPU usage is always low (using CPU Spy Reborn, the 1512 MHz frequency step is pretty much around 2 - 3% of the time, as is the 1026 MHz frequency step - the remaining frequency steps are all at 0 - 1%, with 384 MHz (the lowest step) at 52% and Deep Sleep at 34% of the time).
All this with Location active on high-precision mode. Roughly 5h10min of usage (LTE always on), with PowerAmp playing for more than 4h straight, around 55min screen on and 15min or so of gaming (Zombie Gunship), and the battery is still at 72%.
With 4.3, with the same level of usage (moderate to heavy, I guess) the battery would absolutely be on the 60-65% range.
In other words, disabling both Location Report and Location History worked for me, with zero downsides with regards to location based apps (Google Maps, Waze and GPS Essentials all work perfectly).
Hope this helps. Best regards.

High battery drain with doze overnight

I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
bosox284 said:
I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
Click to expand...
Click to collapse
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it ?
Badger50 said:
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it
Click to expand...
Click to collapse
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
I wouldn't worry about turning off AOD saving you a bunch, I turned mine off and didn't notice any diff at all in overnight batt drain, so set it to DIM, and still haven't noticed any additional batt drain from when it was off.
If you really want to be a miser without totally losing AOD,
"always on" OFF,
"Lift to check phone" ON,
(Settings>Display>Ambient display>)
set it to DIM (Settings>Display>Screen Saver>Current Screen Saver gear>Night mode checked)
which is how mine is set up
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
Where is that fix touch module?
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
Where is that fix touch module?
Click to expand...
Click to collapse
Look in downloads in magisk manager.
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
bosox284 said:
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
Click to expand...
Click to collapse
Delay what? ?
Badger50 said:
Delay what? <span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_32.png);background-position:73.97179788484137% 79.9647473560517%;background-size:5418.75% 5418.75%" data-codepoints="1f914"></span></span>
Click to expand...
Click to collapse
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
bosox284 said:
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
Click to expand...
Click to collapse
Haven't noticed any delay what so ever with any push notifications from any apps. Google or otherwise :good:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
I noticed this as well and it seems to have started after the January update. Although mine isn't quite as bad. Pre-January update I was losing about 2-3% in like 8 hours. I'm now losing that much in like 4-5 hours. There were 2 days in a row where I actually lost like 15-18% over like 7 hours.
rickysidhu_ said:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
Click to expand...
Click to collapse
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
The Jan update has been ****. I would get almost 7 hrs SOT with 20% left. Now all I get is ****ty 4 hrs and phone at 10%. Usage wise it's the same since day 1 nothing new as such. No rogue app on BBS. This is messed up.
Badger50 said:
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
Click to expand...
Click to collapse
Yeah I had a feeling that could be it. I'll give it a shot by removing them, thanks for the suggestion! :highfive:
Badger50 said:
Look in downloads in magisk manager.
Click to expand...
Click to collapse
It isn't there that's why i asked
Sent from my Google Pixel 2 XL using XDA Labs
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Try to run "su" and then "top" from terminal,
See what is your top process,
In one occassion, my magisk hide stucked up and using 30%++ of CPU all the time, even when idle, and that drain the battery in no time,
Am on 8.1 Jan, Kiriskura Kernel,
Tweak applied is Brevent, Amplify and my own EnableDoze for GMS.
Never lost more than 5% in 9 hours of sleep. Average is 2-3% with wifi on. Less than 2% when network is totally off
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
You can try the one attached.
I cant find it in download section as well
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
My bad. I forgot that it was a special build by another user. Install it from magisk manager. If it doesn't install, then flash it in twrp.
https://github.com/AndroPlus-org/ma...b/master/magisk-module-fix-touch-pixel2xl.zip

Battery drain by Google..

Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
For me google play services keep running in the background.
Could you please share a pic of your entire battery drainage from the apps?
I disabled it (google app, not play services) since day one, along with other annoying pests via ccswe and package disabler pro, both complement each other perfectly, of course there is the ADB commands method, but I preffer the apps I mentioned, as they provide very useful widgets to enable/disable problematic apps as google, playstore, updates, chrome, etc, you can even disable services within the apps, to avoid background data access or runnig on boot
Subham jyoti said:
For me google play services keep running in the background.
Could you please share a pic of your entire battery drainage from the apps?
Click to expand...
Click to collapse
This one?
winol said:
I disabled it (google app, not play services) since day one, along with other annoying pests via ccswe and package disabler pro, both complement each other perfectly, of course there is the ADB commands method, but I preffer the apps I mentioned, as they provide very useful widgets to enable/disable problematic apps as google, playstore, updates, chrome, etc, you can even disable services within the apps, to avoid background data access or runnig on boot
Click to expand...
Click to collapse
Can you guide me what needs to be done with these apps? I never seen so much battery drain due to google app on my previous phones
atrix4nag said:
This one?
Click to expand...
Click to collapse
Thnx. Yeah it's same like me. I don't know why it keeps running in the background
atrix4nag said:
Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
Click to expand...
Click to collapse
Firstly,
Look at my Google usage, screenshot
9 hrs background and only 0.1 % usage..!
So even if your Google is enabled in background
it should only take a minimum % eg 1 % ..?
So i would say that some settings in your
Google..?
that is enabled, eg syncing..... etc
I don't know all the tasks connected to Google.
I would rather cross check with battery
apps eg Betterbatterystats, Gsam battery monitor,
Wakelock detector lite etc
to pinpoint reason, than try and restrict Google.
Bottom line,
If you don't know what to do and you are desperate,
i would then factory reset device.
Should solve the problem..... hopefully.!
Good luck.
willcor said:
Firstly,
Look at my Google usage, screenshot
9 hrs background and only 0.1 % usage..!
So even if your Google is enabled in background
it should only take a minimum % eg 1 % ..?
So i would say that some settings in your
Google..?
that is enabled, eg syncing..... etc
I don't know all the tasks connected to Google.
I would rather cross check with battery
apps eg Betterbatterystats, Gsam battery monitor,
Wakelock detector lite etc
to pinpoint reason, than try and restrict Google.
Bottom line,
If you don't know what to do and you are desperate,
i would then factory reset device.
Should solve the problem..... hopefully.!
Good luck.
Click to expand...
Click to collapse
Thanks for your suggestions.
I don't want to do factory reset. I will try with other options first.
atrix4nag said:
Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
Click to expand...
Click to collapse
Same happened to me. What I did was to delete Data from Play services app, then I deleted cache from phone an voila. I have all sync and functional.
Ps. I charge my phone to 90% and I can get 5-6 SOT at 30% left everyday.
The issue op mentioned is not about google play services, it is about the google app instead I think
The problem is I don't think any batter stat apps can get low enough level stats to indicate what is using the Google app in the background to determine what is causing the drain. Usually, the culprit is an app frequently using location service (your GPS) to check your location which I believe the Android location service coordinates for apps other than the native Android/Google apps are obtained through the Google app in the background. That latter point is purely a guess because as we all know the Google app is a "multipurpose" app and you can't see detailed enough battery usage to determine what function of the app is being used that causes battery drain.
On my S10 5G, for the first 2 weeks I've used it, Google never was in the top 5, taking like 1-2% over the course of a day. Then seemingly all the sudden, it was #1, consuming like close to 1% an hour in the background. So I think, what did I change recently? I enabled Google Discover, but set the option to mae it update less fequently (6 hours) to reduce battery (the option actually says this will reduce battery usage). It didn't make a difference. So I disabled Google Discover and installed Google News instead. My Google app battery usage is lower now. About 0.9% per hour (all background usage of course). I think for most people that's good, but not when you were used to it being more like 0.1-0.2% an hour before.
I think the bottom line is if you want to use more features on your phone you have to live with a bump in battery usage. The 4500 mAh battery on my S10 5G lasts me abotu 1.5 days. LOL. But I don't play games or check Facebook/Instragram all day. Just a few texts, weather alerts, maybe an hour or two of browsing. Mabe an hour total of talk time. So relative to other people I should be less concerned if my phone is lasting well over a day on a charge, actually close to 2 days many times. I know a lot of other more "frequent users" (probably a lot of people younger than myself) that are on social media a lot and or listening to music/watching videos would kill to have their phones last 20-48 hours without having to charge.
Still, I keep an eye on things and it bugs me Google has jumped up. A great app to use is Accubattery and monitor the "SCREEN OFF" discharge rate. You're not actively using apps when the sceen is off so this gives you a good idea of your total background battery usage. You can make changes to settings, charge your for for a while, and let several hours pass, then check the screen off discharge rate and compare it to other discharge periods before you made the settings to determine if the changes you made had much of an effect.
Of course background usage isn't going to be 100% consistent, so the longer you measure the better, as if you look at it over like a 1 hour period, it could be certain apps were just more or less active during that particular hour. But if you compare like half day or more (6+ hour) periods to previous periods, you can get a good gauge if apps setting changes or newly installed apps are eating more battery in the background.
I disable Google feedfack, all their data collecting junk and their data backup too. Google is a pig.
Some blocked Google apks like Playstore are enabled as needed.
Even when Framework and Google Transport are blocked it's sometimes periodically necessary to clear their data to get them from using excessive cpu cycles.
Battery Tracker reports Google Framework running when AOD is on but it's likely misreading as long as battery draw remains at around 1%@hour while phone is screen off.
I'm running on Pie... who knows what Q will do.
Most likely make a bigger mess.

Categories

Resources