Related
Does anyone know exactly how to diagnose Google Services running down my battery? I've tried disabling individual bits and pieces that seem related, but whenever I check OS Monitor there doesn't seem to be any single culprit, yet my battery continues to plummet.... Also, the Gallery app goes nuts from time to time and hammers the CPU, even when it hasn't been run. Logs suggest some kind of face scanning going on, despite it being disabled in the apps settings. Only work around for that it seems is disabling Gallery, or manually killing the process whenever it respawns.
I've used the same Google account and the same data on an S2 and a Note 2 with no issues from Google Services, but since day one with the S4 it's a problem. Yes, I've tried a factory reset etc etc, I'm not a complete n00b
so as of this week i've noticed battery drain..
I removed all APPs i recently installed and still drain no deep sleep.
Better battery stats never helps, all it says us "Suspend Backoff" for kernal wake lock but never tells me what is causing the wifi to be hit so much
i finally went into google sync options and unchecked ALL options and reset CPUSPY..
with in a few min im getting sleep.
i re enable all my google sync options and reset CPUSPY
no more deep sleep after a few min
now i enabled all sync again, and UNchecking each of them one by one to see which one is the culprit but its not just one.
sometimes its SoundSearch, sometimes its KEEP, sometimes its People Details..
doesnt make sense and i'm leaving the phone alone, i'm not adding or changing any data on the phone or the computer in KEEP, PEOPLE, GMAIL or MUSIC
so why is this happening?
I know a lot of people disable all their sync in here to get better battery life but of the people that still sync their google services automatically, is anyone seeing this?
Maybe something is preventing sync from completing successfully which causes sync services to be constantly on.
Personally I haven't faced the issues you have mentioned. Try clearing data of play store, Google services framework and play services.
Sent from my Nexus 4
use titanium freeze Google+, GoogleMusic, GTalk
should solve
Since day 1, despite factory resets and freezing bloat, my LG G2 has experienced some *insane* wakelocks around NlpCollectorWakelock and NlpWakeLock. We're talking about 2 hours every 10 hours or so of uptime, basically destroying my battery life.
Now, the simple fix for this is to turn off Wifi/Mobile Network Location, voila, phone deep sleeps, life is good. Except this doesn't fly for me, because I still want to use Google Now, and I can use it just fine on my S4 without this insanity.
To get a little better insight, metric-wise, I pulled Velvet.apk from /system/app and self-installed Google Search straight from the market (essentially Google Now) so that I could keep tabs on it in Greenify.
Turns out Google Search was running as much as 200 times per hour and causing wake-up ~5-10 times per hour. I could practically refresh and just watch the count go up and up.
So on a whim, being rooted and a little bit of a risk-taker, I used Titanium Backup and uninstalled Google Play Services. Null. Gone. Kaput.
Then when I launched Google Now again, it requested I nab Google Play Services from the market. So I did. I installed, rebooted.
To my surprise, in the last five hours since doing that, Google Search has run 12 times, and woken up 12 times. Better Battery Stats is reporting NlpCollectorWakeLock at 2 minutes and 8 seconds for ~5 hours uptime, and NlpWakeLock at 2 minutes and 43 seconds.
Anyone else want to take the dive with me and see if this gives them as significant of a before/after as it did for me? My phone is deep sleeping like a champ now and I really hope this keeps up.
tl;dr: Uninstall Google Play Services from /system/app using Titanium Backup, launch Maps or Google Now and then re-install Google Play Services from the market. Reboot. See if location service related wakelocks drop significantly. Rejoice if they do. Lament further if they don't.
Well, I removed Google play services and installed via market this morning. I'm still seeing a ****load of NLP wakelocks, but on the att version I haven't figured out how to completely remove search. Could that be the issue?
Sent from my LG-D800 using Tapatalk 4
lastdeadmouse said:
Well, I removed Google play services and installed via market this morning. I'm still seeing a ****load of NLP wakelocks, but on the att version I haven't figured out how to completely remove search. Could that be the issue?
Sent from my LG-D800 using Tapatalk 4
Click to expand...
Click to collapse
Oops, I guess I forgot to mention that I also removed Velvet.apk from /system/app (LG's pre-installed Google Search), and reinstalled that from the market as well. Not sure if that is related.
I, too, have the AT&T version. I will run some more tests today. But so far today with 1 hour screen-on, I have an up time of a little north of 2 hours, with an estimated 60 hours remaining. Obviously that isn't realistic, but by this time before I would be seeing an estimated time of about 9 hours remaining and be sub-90% battery life.
burningembers said:
Oops, I guess I forgot to mention that I also removed Velvet.apk from /system/app (LG's pre-installed Google Search), and reinstalled that from the market as well. Not sure if that is related.
I, too, have the AT&T version. I will run some more tests today. But so far today with 1 hour screen-on, I have an up time of a little north of 2 hours, with an estimated 60 hours remaining. Obviously that isn't realistic, but by this time before I would be seeing an estimated time of about 9 hours remaining and be sub-90% battery life.
Click to expand...
Click to collapse
I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.
Sent from my LG-D800 using Tapatalk 4
I don't have a velvet.apk either but I just did what you did aside from that. We'll see how things go.
Sent from my LG-D800 using xda app-developers app
lastdeadmouse said:
I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.
Sent from my LG-D800 using Tapatalk 4
Click to expand...
Click to collapse
zxrax said:
I don't have a velvet.apk either but I just did what you did aside from that. We'll see how things go.
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
Weird! I wonder why I have/had a Velvet.apk.
Anyway, since my initial post, I've continued monitoring. My runs/wakes are WAY down, trending to about 1-3 per hour, down from a crap ton. My overall wakelock time is roughly 20 seconds per hour, or roughly 8 minutes or so per day, way down from nearly 2 hours/day before. My battery life has gone way up, I'm super happy.
will not uninstall
Tried to do the same with the Verizon G2 and when trying to uninstall this i get a message from titanium back saying it will reboot twice for this to complete, but upon first reboot it boots in to team win recovery? how do i get this complete its process because Google services is always the highest on battery usage on my phone.
kjplaysguitar said:
Tried to do the same with the Verizon G2 and when trying to uninstall this i get a message from titanium back saying it will reboot twice for this to complete, but upon first reboot it boots in to team win recovery? how do i get this complete its process because Google services is always the highest on battery usage on my phone.
Click to expand...
Click to collapse
Huh, unfortunately I'm on the AT&T, so it is hard for me to comment.
When I did it via TB, it uninstalled in the same session, no reboot. No notification about rebooting twice.
Any other VZW users out there that can comment?
After an hour of idle time my time held awake by NLP wakelocks specifically is only three minutes, a far cry from the eight to ten I was seeing earlier. Will continue to monitor.
Sent from my LG-D800 using xda app-developers app
lastdeadmouse said:
I have no velvet.apk in /system/app
I've been trying to get the market's search installed for the widget for days, lol.
Sent from my LG-D800 using Tapatalk 4
Click to expand...
Click to collapse
Do you have google search to uninstall in titanium backup? I'd try that if you can't find the APK. I had it in my /system/apps and did the uninstall in TB.
I already uninstalled Google search via TB, should I still see this velvet.apk?
Sent from my LG-D800 using xda app-developers app
I'm on vzw and didn't have a problem deleting Google Play Services. Wakelocks are way down for me too since using the Play Store version. Good find. I was noticing very high wakelock on this for the last several days.
OP, what are your settings on these three pages?
http://imgur.com/a/jc8lo
I'm still getting a ton of wakelocks. Not as much time spent held awake but nowhere near as low down as 1-3 wakes per hour . In 1h48m of non-screen time (out of the past 2h23m), I've got NLPCollectorWakelock waking my device 82 times for ~4 minutes of time held awake and NLPWakelock waking my device **284**(!!) times for 3 and a half minutes of time held awake...
EDIT: just uninstalled an app called "LGSearchProvider.apk" using Titanium Backup. Perhaps this is the same thing as the velvet.apk you were talking about earlier by a different name?
zxrax said:
I already uninstalled Google search via TB, should I still see this velvet.apk?
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
Nope, Velvet.apk was the /system/app's Google Search from factory.
zxrax said:
OP, what are your settings on these three pages?
http://imgur.com/a/jc8lo
I'm still getting a ton of wakelocks. Not as much time spent held awake but nowhere near as low down as 1-3 wakes per hour . In 1h48m of non-screen time (out of the past 2h23m), I've got NLPCollectorWakelock waking my device 82 times for ~4 minutes of time held awake and NLPWakelock waking my device **284**(!!) times for 3 and a half minutes of time held awake...
EDIT: just uninstalled an app called "LGSearchProvider.apk" using Titanium Backup. Perhaps this is the same thing as the velvet.apk you were talking about earlier by a different name?
Click to expand...
Click to collapse
My settings match yours except I have Remote Wipe ability turned off, I still have my phone reporting a location to ADB, though.
Since my last post, I've seen a huge uptick in Google Search runs in Greenify (about 100 in an hour). However, only 5 wakes, and only 26 seconds of wakelock in that same hour. Will report more later.
I uninstalled the search, and Google play services, restarted, reinstalled, and restarted again. So far this is what I have is it normal?
Sent from my LG-D801 using xda app-developers app
akong702 said:
I uninstalled the search, and Google play services, restarted, reinstalled, and restarted again. So far this is what I have is it normal?
Sent from my LG-D801 using xda app-developers app
Click to expand...
Click to collapse
I'm not sure there. It looks like you just have some initial Audio wakelocks from maybe a music player or your start-up noise.
You should check Android System or Google Services for things related to NlpCollectorWakelock or NlpWakelock.
---
Updates on my own report. For some reason Google Keep has shot to the top trending at 4 minutes/hour of wakelock time. I have no idea why, I'm not actively using it, or its widget. I'm greenifying it now to get rid of the noise.
Well, in 1h50m of uptime (30m screentime), according to GSam, NlpCollectorWakelock has kept my phone awake for ~6m. It's the only thing under Google Services that's kept my phone awake longer than 30 seconds. Nlpwakelock is virtually nonexistent, 9.8s of awake time.
edit: when i click 'manage' on GSam on the "Google Services" that's causing wakelocks it takes me to Google Bookmark Sync in particular. Coincidence? I froze bookmark sync since it's something I don't use anyways, we'll see what happens...I don't see how it could possibly be the culprit but you never know.
zxrax said:
Well, in 1h50m of uptime (30m screentime), according to GSam, NlpCollectorWakelock has kept my phone awake for ~6m. It's the only thing under Google Services that's kept my phone awake longer than 30 seconds. Nlpwakelock is virtually nonexistent, 9.8s of awake time.
edit: when i click 'manage' on GSam on the "Google Services" that's causing wakelocks it takes me to Google Bookmark Sync in particular. Coincidence? I froze bookmark sync since it's something I don't use anyways, we'll see what happens...I don't see how it could possibly be the culprit but you never know.
Click to expand...
Click to collapse
Interesting. I hadn't gone that deep via GSam, I may do it now though just to see. Good call.
edit: Mine just takes me to Google Services, sad panda.
nlpcollectorwakelock is google services, not google play services for me...
I have the T-Mobile variant and wanted to confirm that OP's instructions fix the issue. My device started out with great battery life and one day suddenly took a dive thanks to this issue.
I used TiBu to uninstall Google play services and Google search (which turned out to be velvet.apk) and reinstalled both via play store.
Screen went back to bring number 1 battery drainer for me whereas before Google pay services was in the lead by a wide margin.
Thanks OP.
Sent from my LG-D801 using xda app-developers app
I am on my 5th charge, and Google Play services is my number one battery sucker.
I have location services, BT, on 24/7. I only connect to BT when in my car though, so 5% of the day maybe.
If I let me phone sit idle for about 4 hours, Google Play services will be the only thing that consumed battery.
Any advice on troubleshooting it? So far i've tried disabling NFC, google hang outs, ambient screen. I am trying things one at a time to see what's causing it.
There are no wakelocks, because I click the graph and I show it's only awake when I am actually using it. GPS is rarely, if ever on. WIFI is never on, as I have green signal everywhere + unlimited data via tmobile. I also do not have any other always connected apps like facebook, or facebook IM, twitter, or whatsapp, etc.
vivithemage said:
I am on my 5th charge, and Google Play services is my number one battery sucker.
I have location services, BT, on 24/7. I only connect to BT when in my car though, so 5% of the day maybe.
If I let me phone sit idle for about 4 hours, Google Play services will be the only thing that consumed battery.
Any advice on troubleshooting it? So far i've tried disabling NFC, google hang outs, ambient screen. I am trying things one at a time to see what's causing it.
There are no wakelocks, because I click the graph and I show it's only awake when I am actually using it. GPS is rarely, if ever on. WIFI is never on, as I have green signal everywhere + unlimited data via tmobile. I also do not have any other always connected apps like facebook, or facebook IM, twitter, or whatsapp, etc.
Click to expand...
Click to collapse
I am getting the same thing right now. I didn't yesterday.
I know it shows Google Play Services if you have Google Photos backing up your photos and videos. It is defaulted to do it whenever you are on wifi I believe. I have mine set to only backup while charging. I still see the Google Play Services drain though even with it not backing up, so I think my drain is coming from some other place.
Yeah, I am going to turn off background data, and if that's the culprit. I will play with each of the back up options. I only have a few enabled. I do have google photo's set to sync when on cell network or wifi, because I have unlimited data I do not care when they go up.
I noticed an odd bug when I unchecked google+ and google+ uploads as OFF/not sync, my google photo option to sync was gone. I enabled it, and it showed up. I have since rebooted a few times, and disabled those (did this an hour or so ago), and it will still sync, so maybe that was it? Will report back.
Currently enabled sync options:
app data
calendar
chrome
contacts
gmail
google opinion rewards
google photos
google photos backup
vivithemage said:
Yeah, I am going to turn off background data, and if that's the culprit. I will play with each of the back up options. I only have a few enabled. I do have google photo's set to sync when on cell network or wifi, because I have unlimited data I do not care when they go up.
I noticed an odd bug when I unchecked google+ and google+ uploads as OFF/not sync, my google photo option to sync was gone. I enabled it, and it showed up. I have since rebooted a few times, and disabled those (did this an hour or so ago), and it will still sync, so maybe that was it? Will report back.
Currently enabled sync options:
app data
calendar
chrome
contacts
gmail
google opinion rewards
google photos
google photos backup
Click to expand...
Click to collapse
I saw this after upgrading to the newest factory image. let things settle and it was back to normal on the next day. Also updated to play services 8.3.0.1
I actually tried to do a reinstall the other day, and it brought me up to 8.3.01 (2385995-440) ... which was what it previously had.
Are you saying you just wiped your phone and started from scratch again?
vivithemage said:
I actually tried to do a reinstall the other day, and it brought me up to 8.3.01 (2385995-440) ... which was what it previously had.
Are you saying you just wiped your phone and started from scratch again?
Click to expand...
Click to collapse
I didnt wipe anything. I flashed the system.img and vendor.img from the Nov. update and i then noticed that play services was eating up about 22% of battery on a normal cycle. Updated to 8.3.0.1 and after charging and watching on the second go around, it seems to be returning to normal. Down to 44% and play services has only eaten 4%.
elreydenj said:
I didnt wipe anything. I flashed the system.img and vendor.img from the Nov. update and i then noticed that play services was eating up about 22% of battery on a normal cycle. Updated to 8.3.0.1 and after charging and watching on the second go around, it seems to be returning to normal. Down to 44% and play services has only eaten 4%.
Click to expand...
Click to collapse
4% seems solid for 66% bat used... i'll try that if this doesn't work. Does flashing just system.img and vendor.img muck with any data?
maybe try wiping the cache partition -
Nexus 6P Wipe Cache Partition
Power Down the Nexus 6P
Boot the Nexus 6P into Fastboot Mode
Boot the Nexus 6P into Recovery Mode
Press the Volume Down Button to Control the Highlighter
Highlight the ‘Wipe Cache Partition’ Option in Recovery Mode
Then Press the Power Button to Select This Option
Make Sure the ‘Yes’ Option is Highlighted
Then Press the Power Button to Select This Option and Confirm the Wipe
Wait Until the Nexus 6P Wipes the Entire Cache Partition
Make Sure the ‘Reboot System Now’ Option is Highlighted
Then Press the Power Button to Reboot the Nexus 6P
http://www.androidexplained.com/nexus-6p-wipe-the-cache-partition/
What does wiping cache do again?
I disable.any Google apps I don't use ,which most if them,I have Google now always listening and I don't use chrome which seems to hit the battery,and play services is hardly ever in my battery list,but today a new play service update and reading reviews it's sucking battery by all accounts ,not seen it yet myself
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
tluley51 said:
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
Click to expand...
Click to collapse
i suffer no hardships doing this -
Battery Tips for Android
1. Toggle off High Accuracy GPS Mode, Bluetooth, NFC,
Hotspot/Tethering. Toggle on only as needed. (Set GPS Mode to "Battery
Saving" Mode).
2. Display Brightness - Turn off Auto Brightness and Reduce Setting
Bar to Minimum Acceptable to you.
3. Sign out of any unused Google Services like G+, Google Now, Hangouts, etc.
4. Disable Location Reporting and Location History.
5. Beware of constantly syncing in background Apps and Bloatware like
Facebook, Twitter, Weather Channel, Games, Google News/Weather,
Non-Push Email, etc. Set Sync interval for every 1 hour or more and
change settings to stop the syncing of data you don't need. Delete
their Apps and use their Web Page if acceptable.
6. Turn Off Hot Word "Hotword Detection" Always Listening Mode in
Google Search if you don't use it.
7. Turn Off Auto Camera/Photo Upload or at least set it for Upload on WIFI Only.
8. Turn Off Vibrate on Touch for Display, Keyboard, etc.
9. Turn Off Touch Sounds and Unlock Sounds.
10. Turn Off Ambient Display/Active Display Notifications if you don't need it.
11. Don't use a Live Wallpaper. Use a dark wallpaper if possible.
12. Set Display Sleep Setting to 2 Minutes or Less.
13. WIFI Settings - Advanced -
a. Network Notification - Set as OFF.
b. Keep WIFI on during Sleep - Set as ALWAYS if you regularly use
WIFI. OK to keep WIFI on if you regularly use it.
14. Scanning Always Available - Set as OFF - Wifi scans for networks
(location assist) in the background by default. Go to Settings >
Location > Overflow (three dots at top right) > Scanning and change
the setting for Wifi and Bluetooth.
15. Turn Off Always Vibrate in Gmail/Email.
16. Be careful of using too many Live Widgets and what/how often they sync.
17. Set MS Exchange Sync at 30 Days or Less if you use it.
18. Do NOT use a Task Killer App or Battery Saver App.
19. Uninstall ALL Apps that you never use. If you haven't used an
App in one month, uninstall it.
20. Reboot your phone at least once a month.
21. Wipe Cache Partition at least once a quarter or after every OS Update.
22. Consider a Factory Data Reset with a manual re-sync, manual
reinstall of all data and Apps after every major OS Letter Update.
Make sure that all of your data is first backed up to Google and
Dropbox, etc.
"I SUFFER NO HARDSHIPS DOING THIS" - this means that i personally am
giving up NOTHING with these tips. i'm not giving up any features.
there are no tradeoffs for me. a tradeoff or a hardship would be to
turn off PUSH email or use AIRPLANE mode during the day etc.
you have to find your own balance and the tips list is a start but you
must come to your own conclusion as to what's important. it's personal
preference but these are not a big deal to me at all as they do not
affect the function or operation of my phone. these tips do not
deteriorate my experience.
you don't HAVE TO do anything. the point is you if you want to
MAXIMIZE battery life you can turn things off that you aren't using.
it only makes sense. there is a FINITE amount of juice in ANY
battery. you choose how you want to spend that juice. by default most
of these devices have every feature set as ON whether you use them or
not. i prefer to change the settings in my phone to only use those
features that i personally use and need so i can maximize battery
life. i don't leave all the lights and TVs on in my house 24/7 - i
turn them on when i need them. i'm not giving anything up. my phone
does everything exactly like i want it to. i'm not missing out on
anything. it's no hardship for me. it's life. life is a delicate
balance. it's up to you to find that balance.
11-5-15
I am doing 70% of what you listed out, and google play services is currently at 3% of battery with 81% remaining, it's my highest user under screen with an hour. Don't get me wrong, great battery, but why is it using so much?
I wiped cache and it seemed to help a ton. Almost 3 hrs screen on time, 24 hours off charge, 35% battery remaining and Google Play Services is only at 3%. Much better.
its "Ok Google" "Always Listening"
I lost 12% in 7 hours overnight with it on and 1% with it off (On 4g)
Let me try wiping my cache then. Also, OK Google is not always listening, I never really use it anyway. I only use voice for texts sometimes.
tluley51 said:
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
Click to expand...
Click to collapse
Bluetooth is your problem. I turned mine off and immediately my phone starting to sleep again.
I leave my BT on all the time, it only connects in the car though (40 minutes per day). I do not see bat drain for that. I also left it disabled for a day, same google services % usage.
vivithemage said:
I leave my BT on all the time, it only connects in the car though (40 minutes per day). I do not see bat drain for that. I also left it disabled for a day, same google services % usage.
Click to expand...
Click to collapse
what about Bluetooth Scanning? off or on? see #14 above on my list.
Gekko2 said:
what about Bluetooth Scanning? off or on? see #14 above on my list.
Click to expand...
Click to collapse
This has always been off, why would anyone even want it on. BTW, solid list, like I said, I do about 70% of it already.
I think that some of my Google apps may be causing wakelock, specifically Maps and Google App or Google Play Services itself.
Now how I was able to isolate this is I initially have Maps disabled, and then enabled it this one time because I needed to look up something, and then after just after a few hours, my phone suddenly drains like crazy while idle and I've noticed on the usage that Android OS and Android System is eating up a LOT of battery.
So I got that out of my system when I tried to disable again and wipe cache recovery. Now my phone is currently working fine, and then I've decided to update Google App (which I never have done since I got my phone) so I can get assistant. Same thing happened a few hours.
I'm on a non-rooted Huawei P9 lite on B361.
Anyone?