Android system draining battery - T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting

I'm not sure what's considered high android system but mine is at 29% and looks like it's taking a toll on my battery. When I check the battery usage it's the highest thing listed. How can I lower this or fix this? Any help is greatly appreciated! I love this phone!

same problem here ... android system is at 24% with 59 minutes of CPU usage while screen was about 20% with more than 2 hours of screen on time !?! Why system is killing the cpu so much ? ... TouchWiz !!! *SMH*

Give it a week or so to even out.

This could be any app that is pulling your location. Most pull through your location through google play services, part of the android system. Not defending touchwiz usage but most likely the fault lies elsewhere.

xxsxx said:
This could be any app that is pulling your location. Most pull through your location through google play services, part of the android system. Not defending touchwiz usage but most likely the fault lies elsewhere.
Click to expand...
Click to collapse
I dont think so my location its off and still takes 29%, maybe a kernel issue. I heard they did the update we just got cause battery draining issues. maybe not fixed 100%

I get the same thing and I made sure to turn off notifications and apps that "push" and set em all to manual. I use the same apps and settings on my S5, and LG G3 and would be able to get around 6 hour screen time and total of 17-20 hours per charge. AND on those devices, the screen is usually the highest % and the android system is not even near that %
Right now I'm getting almost about the same as my S5 battery life, maybe a bit shorter...

Same problem here, about 42% on a normal usage. I did not have this problem before, on stock Rom but since I switched to cynanogenmod, my phone can't make it through the day.
What's more, I'd like to know if any of you know an xposed module or an app which can automatically turn switches on/off when starting/closing an app. Like turning GPS on when starting Google Maps and turning it back off when closing the app, for instance.
Sent from my Xperia Z1 Compact using XDA Free mobile app

Good queetion, I'd be interested in that as well
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app

mines also like this

I found this was related to location services and / or google now.
I found these worked for me:
1. Turning GPS location to GPS only (i.e. not using wifi). I believe this stops passive location tracking, which in turns stops the other services always running
2. Turning off location tracking / history. As above, no detailed location, no other fancy things running all the time.
3. Turning off Google Now.
I listed the above in the order I would do it. Using just item one, you still get most of Google Now's functionality.
End of the day, what I found was there was a lot of "smart" stuff going on in the background around your location, and this is what caused most of the CPU time. If you look at your wake locks, you will see it drop off dramatically once you do the above steps.
Some people have reported turning location services back on after a while didn't result in a spike in CPU time.
This isn't a Note 4 thing, more a Android / Google Now thing in my opinion,.
Hope it helps.

mrja22 said:
I found this was related to location services and / or google now.
I found these worked for me:
1. Turning GPS location to GPS only (i.e. not using wifi). I believe this stops passive location tracking, which in turns stops the other services always running
2. Turning off location tracking / history. As above, no detailed location, no other fancy things running all the time.
3. Turning off Google Now.
I listed the above in the order I would do it. Using just item one, you still get most of Google Now's functionality.
End of the day, what I found was there was a lot of "smart" stuff going on in the background around your location, and this is what caused most of the CPU time. If you look at your wake locks, you will see it drop off dramatically once you do the above steps.
Some people have reported turning location services back on after a while didn't result in a spike in CPU time.
This isn't a Note 4 thing, more a Android / Google Now thing in my opinion,.
Hope it helps.
Click to expand...
Click to collapse
thanks for the advice and suggestions, but my s4 and s5 did not have the "android system" so high in usage. i've tried the turning off gps, then back on, and then restart phone thingy, but same results. i just hope sammy would address this issue as it seem pretty widespread.

MMakoto said:
thanks for the advice and suggestions, but my s4 and s5 did not have the "android system" so high in usage. i've tried the turning off gps, then back on, and then restart phone thingy, but same results. i just hope sammy would address this issue as it seem pretty widespread.
Click to expand...
Click to collapse
Just to clarify,Ii suggest turning location to GPS only. And leaving it off.
Turn off location reporting and history also. Then see what results you get and go from there

I'm having the same thing ...

I just received a update that is supposed to fix the battery drain issue. We shall see if it works.

railslave said:
I just received a update that is supposed to fix the battery drain issue. We shall see if it works.
Click to expand...
Click to collapse
The update that came out this week or a different one.

mrja22 said:
I found this was related to location services and / or google now.
I found these worked for me:
1. Turning GPS location to GPS only (i.e. not using wifi). I believe this stops passive location tracking, which in turns stops the other services always running
2. Turning off location tracking / history. As above, no detailed location, no other fancy things running all the time.
3. Turning off Google Now.
I listed the above in the order I would do it. Using just item one, you still get most of Google Now's functionality.
End of the day, what I found was there was a lot of "smart" stuff going on in the background around your location, and this is what caused most of the CPU time. If you look at your wake locks, you will see it drop off dramatically once you do the above steps.
Some people have reported turning location services back on after a while didn't result in a spike in CPU time.
This isn't a Note 4 thing, more a Android / Google Now thing in my opinion,.
Hope it helps.
Click to expand...
Click to collapse
Thanks a lot ...
Location tracking off made a big difference ... Things are already looking good. I will only turn on the GPS when need be.

Mr.37 said:
Thanks a lot ...
Location tracking off made a big difference ... Things are already looking good. I will only turn on the GPS when need be.
Click to expand...
Click to collapse
Good to hear.
I found I can have GPS on without any issues, as long as either Google Now or location tracking was off.

Any more info ?

I am having the same issue in tandem with weak battery signal. Do I wait for Lollipop or do I just sell my N4 and get an S6?

Related

Battery drain due to RILJ. (Solved!)

Hi everybody,
I have seen quite a number of users get troubled and complain about high battery drain in JB roms. Most of them have used BetterBattery or other applications and found that RILJ seems to be the culprit. But I haven't seen anyone suggest a solution until now.
So I spent sometime tinkering with the settings and found that on CM10 roms (and may be others as well) turning off the Background Location Reporting removes the RILJ wakelock and stops the battery drain. The reason I guess is that since RILJ might be responsible for providing approximate location (using cell tower identification) it maintains a wakelock to do so.
I am using PA 2.10 so the following instructions are based on that. Other roms should have similar steps.
Here's how you turn Background Location Reporting off.
1. Go to System Settings
2. Under accounts, select Google/Maps and Latitude
3. Maps will fire up and it should show the Location Settings screen.
4. On the top tap Location Reporting and select Do not update your location.
That's it.
Now observe BetterBattery for a few hours and you should see a significant change in the listings and also battery drain. For me battery consumption went from ~1% per 3-5 mins on idle to ~1% per hour on idle.
One side effect of this change (I am guessing) could be that Google Now might not be able to show the location triggered cards. So take your pick on what is more important for you, battery life or value added services.
Cheers
Sent from my GT-N7000 using xda app-developers app
Just come across this via CM forums - I'm on I9100, but I guess it's the same thing. Trying this for a few hours to see what happens. I've seen a dramatic increase in battery usage over the past few days, strangely just after the most recent Maps update...
Quick update - turning that off doesn't change anything for me. Looks like Google Now still knows where I am and therefore there's another setting checking my location. I'm going to try turning Google Now off for a bit too.
Update again: it's not Google Now for me either. Need to do some further looking to try and track down what the exact request is!
good job
Thanks to the RILJ, my battery drain is 10% per hour right now and I'm going to try this solution immediately. Thanks a lot!
Ahalford has already done an indepth research on this subject and summarized all the wakelocks with possible solutions for each, RIL is one of them...
http://forum.xda-developers.com/showthread.php?p=31352333
Sent from my GT-N7000 using Tapatalk 2
will try it, ill report it tomorrow.
thank you for your solution.
nice job. just change the setting and wait for result.
Thanks! This has saved me from pulling out what little hair I have haha.
I really am close to killing myself due to sadness and disappointment because of my phone's battery life. lol. I have a Galaxy Note 2(4.1.1 ver) and my battery lasts for 12-16 hours. I use it mostly for Facebook, Google, Viber and YouTube. I have other typical social networking/comm apps (YM,Skype, Instagram,Twitter) but I dont use them often. I have less than 10 games (Temple Run2, Angry Birds, Diamond Dash) but I dont play for more than 15 mins. I have observed that when my phone is NOT in use, it decreases by 7-10% per hour during the day. At night, before I go to sleep, it is a fully charged phone and when I wake up, 25% of the battery's life is gone within 8hrs of not touching it even to check the time. I dont know if its the normal draining rate of the battery, if its a factory defect on the battery or the phone itself, or if it is the app or android system. My phone is just 4 days old, or maybe 5. Im hoping when the phone turns a week old, things will be better. Or should I try to kill myself now?
PS. I really want to try the solution given above coz upon reading it I realized that viber/fb etc is now showing my location. but i cant seem to find this on my phone. Can someone help me pleaseeeeee.
Alternative way to pick "Do not update your location"
Elai012488 said:
I really am close to killing myself due to sadness and disappointment because of my phone's battery life. lol. I have a Galaxy Note 2(4.1.1 ver) and my battery lasts for 12-16 hours. I use it mostly for Facebook, Google, Viber and YouTube. I have other typical social networking/comm apps (YM,Skype, Instagram,Twitter) but I dont use them often. I have less than 10 games (Temple Run2, Angry Birds, Diamond Dash) but I dont play for more than 15 mins. I have observed that when my phone is NOT in use, it decreases by 7-10% per hour during the day. At night, before I go to sleep, it is a fully charged phone and when I wake up, 25% of the battery's life is gone within 8hrs of not touching it even to check the time. I dont know if its the normal draining rate of the battery, if its a factory defect on the battery or the phone itself, or if it is the app or android system. My phone is just 4 days old, or maybe 5. Im hoping when the phone turns a week old, things will be better. Or should I try to kill myself now?
PS. I really want to try the solution given above coz upon reading it I realized that viber/fb etc is now showing my location. but i cant seem to find this on my phone. Can someone help me pleaseeeeee.
Click to expand...
Click to collapse
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
samsung galaxy note gt n7000
hypocorism said:
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
Click to expand...
Click to collapse
Also Add an apk.... Geenify....puts your applications on hibernate unlike killing....you can use them as you want still wont drain your battery...give a shot it will help you a lot.
Check this link: http://forum.xda-developers.com/showthread.php?p=39163079#post39163079
satven21 said:
Also Add an apk.... Geenify....puts your applications on hibernate unlike killing....you can use them as you want still wont drain your battery...give a shot it will help you a lot.
Check this link: http://forum.xda-developers.com/showthread.php?p=39163079#post39163079
Click to expand...
Click to collapse
I had the same rilj battery drain on S2. Disactivating the google app NEWS AND WEATHER battery drain due rilj is gone.
in case i deleted google maps what i can do bro?
hypocorism said:
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
Click to expand...
Click to collapse
any suggestion for a solution?

Google Now and Battery Drain

It seems Google Now is draining my battery, not really bad, but it is keep my phone awake.
Now, I guess this is just part and parcel of Google Now having to constantly check your location, but has anybody else have an issue with Google Now on the One?
My battery lasted me 12hours yday with what I consider to be heavy use. Bluetooth Streaming Music for 2hrs web surfing over 3G for 2hrs whilst on the train with varying 3G signal, web surfing over wifi for 1hr (including downloading around 6 - 7mb. 15mins of calls. Around 40 whatsapp messages received and read, about 20 emails received via gmail and read, archived. Couple of minutes video, Switching Screen on just so I can see the phone I say at least four to five times and hour.
Not very scientific, sorry didn't really capture any screen shots with BetterBatteryStat, but gives you a rough idea what the usage was, all of that with Google Now on which I assume is constantly checking my position.
I would like to leave Google Now on, but if its going to make a big difference, then I have no choice but to switch it off. I continue to have location services on, but I assume that just allows apps to use it when required. Is there anything else from Google that requires constant checking of location?
Ok, usual suspects.. switched of location reporting under latitude and the partial awakes for the NetworkLocation seems to have more or less disappeared. Hopefully I get a couple more hours with the sort of use described above. If that's the case, I'm happy with that!
Note, location services under settings is still on.
hongsit said:
It seems Google Now is draining my battery, not really bad, but it is keep my phone awake.
Now, I guess this is just part and parcel of Google Now having to constantly check your location, but has anybody else have an issue with Google Now on the One?
My battery lasted me 12hours yday with what I consider to be heavy use. Bluetooth Streaming Music for 2hrs web surfing over 3G for 2hrs whilst on the train with varying 3G signal, web surfing over wifi for 1hr (including downloading around 6 - 7mb. 15mins of calls. Around 40 whatsapp messages received and read, about 20 emails received via gmail and read, archived. Couple of minutes video, Switching Screen on just so I can see the phone I say at least four to five times and hour.
Not very scientific, sorry didn't really capture any screen shots with BetterBatteryStat, but gives you a rough idea what the usage was, all of that with Google Now on which I assume is constantly checking my position.
I would like to leave Google Now on, but if its going to make a big difference, then I have no choice but to switch it off. I continue to have location services on, but I assume that just allows apps to use it when required. Is there anything else from Google that requires constant checking of location?
Click to expand...
Click to collapse
How are you getting that kind of battery life?! Check out my posts in the 'battery life' thead in the 'general' section. 12h is exactly what I'm looking for but I am getting like 9h
Sent from my HTC One using xda premium
yvibes said:
How are you getting that kind of battery life?! Check out my posts in the 'battery life' thead in the 'general' section. 12h is exactly what I'm looking for but I am getting like 9h
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Well, as you know it's all depends on what you run and how you use it. So I can't really answer your question. I can tell you what apps I used though, I unplugged my phone at 7:30am and used Play Movies for a few mins, playing a video, used Gallery for a few mins, check train times using National Rail Enquiries app, used Chrome for browsing on 3G, bluetooth streaming music for 1hr on my commute into work. Used Chrome for browsing and Sky News app on WiFi for say 30mins... downloaded some files over wifi and 3G. 10 - 15 pushed emails, 40 odd whatsapp messages which involved downloading some images, blinkfeed updates probably 3 -4 times, maybe more.
10 - 15mins worth of calls and lots of switch on screen and going through some settings and homescreen navigation and Play Store navigation.
Then browsing over 3G and BT music streaming for another hour on the commute back home.
BT and WiFi was on all day.
I had Google Now on, location settings on, latitude on and the phone was at 2% around 7:30pm when I plugged it back in.
Not very scientific but hopefully you can tell if you use more power hungry apps than I do.
Then recently downloaded BetterBatteryStat and GSamBatteryMonitor and realised that Maps was keep my phone aware for not excessive periods, but throughout the day, I say about 1.5hours. So I looked into exactly what that was and it turned out to be Location Settings in Latitude and potentially google now. Set both of those off and kept location settings on under the main settings, so apps can use it on request.
The phone is now spending less time awake when screen off. There is also a Facebook refresh interval setting, I don't exactly know what that is, but that was set to every 30mins. So I have changed that to every 4hrs. Notifications from Facebook are still pushed I think.
One thing I have set is Blinkfeed to auto te on wifi only and not wifi and mobile data and that was set when I got the phone.
Being a new phone I'm using this more than I would normally, so I'm more than happy with the results. To me, the above is me using it a lot, some people may say that's actually moderate use... so it's all subjective.
Battery life is one those things where you just won't get the same result for everyone, it really depends on so many factors, so you may have done so already and you probably know exactly what you're doing (I haven't read your post unfortunately, meant to be working at the mo) but all I can say, is install those two apps I've mentioned and have a look at partial wake locks and go from there.
Hope that helps.
hongsit said:
Well, as you know it's all depends on what you run and how you use it. So I can't really answer your question. I can tell you what apps I used though, I unplugged my phone at 7:30am and used Play Movies for a few mins, playing a video, used Gallery for a few mins, check train times using National Rail Enquiries app, used Chrome for browsing on 3G, bluetooth streaming music for 1hr on my commute into work. Used Chrome for browsing and Sky News app on WiFi for say 30mins... downloaded some files over wifi and 3G. 10 - 15 pushed emails, 40 odd whatsapp messages which involved downloading some images, blinkfeed updates probably 3 -4 times, maybe more.
10 - 15mins worth of calls and lots of switch on screen and going through some settings and homescreen navigation and Play Store navigation.
Then browsing over 3G and BT music streaming for another hour on the commute back home.
BT and WiFi was on all day.
I had Google Now on, location settings on, latitude on and the phone was at 2% around 7:30pm when I plugged it back in.
Not very scientific but hopefully you can tell if you use more power hungry apps than I do.
Then recently downloaded BetterBatteryStat and GSamBatteryMonitor and realised that Maps was keep my phone aware for not excessive periods, but throughout the day, I say about 1.5hours. So I looked into exactly what that was and it turned out to be Location Settings in Latitude and potentially google now. Set both of those off and kept location settings on under the main settings, so apps can use it on request.
The phone is now spending less time awake when screen off. There is also a Facebook refresh interval setting, I don't exactly know what that is, but that was set to every 30mins. So I have changed that to every 4hrs. Notifications from Facebook are still pushed I think.
One thing I have set is Blinkfeed to auto te on wifi only and not wifi and mobile data and that was set when I got the phone.
Being a new phone I'm using this more than I would normally, so I'm more than happy with the results. To me, the above is me using it a lot, some people may say that's actually moderate use... so it's all subjective.
Battery life is one those things where you just won't get the same result for everyone, it really depends on so many factors, so you may have done so already and you probably know exactly what you're doing (I haven't read your post unfortunately, meant to be working at the mo) but all I can say, is install those two apps I've mentioned and have a look at partial wake locks and go from there.
Hope that helps.
Click to expand...
Click to collapse
Thanks so much for this will see my wake locks now. So where exactly do I go to turn of the location thing in maps??
Sent from my HTC One using xda premium
You can turn off use WiFi and cellular to help reduce the wakelocks or disable Google now. I never use now and it was always a horrible battery drain for me.
Sent from my HTC One using xda app-developers app
yvibes said:
Thanks so much for this will see my wake locks now. So where exactly do I go to turn of the location thing in maps??
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Do you have the App Google Settings. It came with the phone and it has a green icon. Go in there and under Maps & Latitude you'll see a load of settings.
1) Switch off Location reporting, I used "Do not update your location", however, I think you can use "Set your location".
2) I've unchecked Report from this Device.
3) Enable Location Sharing was unchecked for me by default.
4) Disable location history
5) Disable Automatic Check Ins
I also have google+ off.
Now, obviously if you like to use that stuff, then you have no choice, but I don't need to keep track of where Ive been and I don't need constant reminders about things around me and how long it takes to get home on public transport (which only includes buses btw). If I did need local information, there is plenty of other apps that does that at my request.
If they refined it and made it much more configurable then it might be good, e.g. include trains and actually let me configure when the times I want it to start checking, e.g. when I finish work, an hour before start looking at weather, train times home, any delays and whats on TV.. now that would be brilliant, one it will save power as it will only check location at specific times and two it's actually useful information at that particular time.
Thats me though. Others might need Google Now as it is..
Hope that helps.
hongsit said:
Do you have the App Google Settings. It came with the phone and it has a green icon. Go in there and under Maps & Latitude you'll see a load of settings.
1) Switch off Location reporting, I used "Do not update your location", however, I think you can use "Set your location".
2) I've unchecked Report from this Device.
3) Enable Location Sharing was unchecked for me by default.
4) Disable location history
5) Disable Automatic Check Ins
I also have google+ off.
Now, obviously if you like to use that stuff, then you have no choice, but I don't need to keep track of where Ive been and I don't need constant reminders about things around me and how long it takes to get home on public transport (which only includes buses btw). If I did need local information, there is plenty of other apps that does that at my request.
If they refined it and made it much more configurable then it might be good, e.g. include trains and actually let me configure when the times I want it to start checking, e.g. when I finish work, an hour before start looking at weather, train times home, any delays and whats on TV.. now that would be brilliant, one it will save power as it will only check location at specific times and two it's actually useful information at that particular time.
Thats me though. Others might need Google Now as it is..
Hope that helps.
Click to expand...
Click to collapse
Here is my better battery stats screenshot. Anything I need to know?
Sent from my HTC One using xda premium
yvibes said:
Here is my better battery stats screenshot. Anything I need to know?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I'm no expert, but that seems OK to me.
Google Now was an even bigger drain on my S3 ...I had to disable it on that phone. I was struggling to get past 6 hours! I deactivated all the Google Now cards and the battery life returned. The One is clearly better because even with those same cards enabled, I can easily get through the day and beyond. Google Now is clever, but power hungry.
hongsit said:
I'm no expert, but that seems OK to me.
Click to expand...
Click to collapse
Next thing to look at is the App Sucker in GSamBattery Monitor and set it View Time Held Awake. My top three are Kernal (Android OS) 38m 1s, Google Services 13m 37s and System (*wakelock*) at 10m 9s.
You can find a lot of info in there and you can drill down even further and usually can tell what exactly is it that's draining the batt. Kernal and System, I don't know enough about, but when there's specific Apps that show high battery consumption you can tell straight away.
E.g. yday, I started up Sky Go even though I knew it wasn't working and shut it down immediately. However, it continued to run in the background and could only tell by looking at the BetterBatteryStats and GSamBattery Monitor.
hongsit said:
Next thing to look at is the App Sucker in GSamBattery Monitor and set it View Time Held Awake. My top three are Kernal (Android OS) 38m 1s, Google Services 13m 37s and System (*wakelock*) at 10m 9s.
You can find a lot of info in there and you can drill down even further and usually can tell what exactly is it that's draining the batt. Kernal and System, I don't know enough about, but when there's specific Apps that show high battery consumption you can tell straight away.
E.g. yday, I started up Sky Go even though I knew it wasn't working and shut it down immediately. However, it continued to run in the background and could only tell by looking at the BetterBatteryStats and GSamBattery Monitor.
Click to expand...
Click to collapse
Sent from my HTC One using xda premium
yvibes said:
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Concentrate on the top 2 mate, seems like Maps and MediaServer what ever that is keep your phone awake for over 30mins. I would set a custom ref and switch screen off and check again say 10mins.
I've also discovered something else in Kernel Wakelock. Im on wifi at home and after 5 mins of screen off, it nearly has 1min of MSM_HSIC_HOST wakelock. I think this is the modem and wonder why it needs to wakeup as all data is going via wifi. Since unplugged this is at 1hr 17mins, with only roughly 1hr away from home. Does anybody know if this sounds right?
It is something else to look into

Battery drain due to Google Maps

Hi guys,
I've had the Xperia Z, and i'm not even remotely close to getting the battery life some people on here are getting.
I'm unrooted and followed the advice on here for better battery life, but still cannot get 4 hours of on screen time.
Anyways, over the weekend, i've noticed Google Maps suddenly taking up huge amounts of battery.
I've barely been using Maps or indeed barely using any app that uses location based services.
Even over night, my battery would drain 15% and Google Maps was clearly the culprit when looking at apps using the battery.
It was even stopping stamina mode from kicking in.
I disabled GPS.
that didn't fix my problem.
I tried to Force Stop Google Maps.
that didn't fix my problem.
For example, i could charge my battery to 100% to reset my battery stats, then do nothing else but immediately watch half an hour of a film, and incredibly Google Maps would magically be the app thats drained the battery the most, like double that of the screen or triple that of media server!
So last night, i reset my phone back to factory settings, reinstalled all my apps, but i haven't applied the Google Maps update.
so far so good. so far, it is behaving itself.
has anyone else had this problem?
I don't know whether i should update Maps or not.
its weird, for the first couple of weeks, it wasn't an issue, so i don't know why it suddenly became a problem, but it was massively draining my battery, even when i had done everything to disable it!
under the reviews in google play, if i filter reviews for just reviews by users with XZ, i can only see one other person complaining of the same problem.
i couldn't find anyone else posting about this issue when i googled it.
So anyone else have this problem, or know why it is/was happening?
thanks,
It isn't the version of maps you are using that causes the issue. It is 'location settings'.
If you go into location settings in Maps, you will see that you can turn on and off things such as Location reporting, Report from this device, Enable location history etc.
Some of these are required to run Google Now to its full potential, however they cause quite a high level of partial wakelocks.
It is up to you whether you have them switched on (with some battery drain), or switched off (with no/little battery drain).
I also noticed a larger than normal battery drain since a couple of days. I can't remember if there was a gmaps update right before the drainage increase.
Just for the sake of repetition silly. This has nothing to do with the Maps version.
FYI - The last Maps update was on 12th March. Point proven therefore.
nobnut said:
It isn't the version of maps you are using that causes the issue. It is 'location settings'.
If you go into location settings in Maps, you will see that you can turn on and off things such as Location reporting, Report from this device, Enable location history etc.
Some of these are required to run Google Now to its full potential, however they cause quite a high level of partial wakelocks.
It is up to you whether you have them switched on (with some battery drain), or switched off (with no/little battery drain).
Click to expand...
Click to collapse
BUT like i said, i had turned all of these off, and MAPS was STILL draining my battery, despite location based services turned off, Maps forced stopped and not even using any location based app.
That is what i am querying. Why was this happening?
random quirk, or a more serious problem?
In that case I have no idea. It doesn't happen for me.
What I have noticed before once or twice however is that my location settings have changed without me doing it manually. This has happened to me twice when I have (un)installed Now.
nobnut said:
In that case I have no idea. It doesn't happen for me.
What I have noticed before once or twice however is that my location settings have changed without me doing it manually. This has happened to me twice when I have (un)installed Now.
Click to expand...
Click to collapse
i'm hoping its just a random quirk.
On friday, i noticed maps was using quite a bit of battery.
Saturday, Sunday and Monday however, it just went crazy.
I could lose 15% battery when my phone was asleep all due to Maps.
well, I reset my phone to factory settings 12 hours ago, and so far the problem has not repeated itself.
i've got GPS on, location based services on, and so far Maps isn't doing anything it shouldn't be doing.
I will definitely keep an eye on it and update this thread as and when.
I've had this phone 3 weeks, so i don't know why it suddenly became a problem on friday. The only thing i changed on friday was i installed new app Google Keep which almost certainly cannot be the culprit that i can see

NlpWakeLock and NlpCollectorWakeLock Discussion

Firstly, this is not another thread to complain about your horrible battery life due to Google Play Services. I'm tired of those (mostly on Reddit, but some here too. Either way, none of that here ). This is instead to try and find a root cause for it. "It's Google's fault" is not good enough for me, and if you truly care about your battery life it shouldn't be for you either. If all you're after is an easy way out to get your battery life back, then this thread is not for you. We're here to reach a solution where you can get location services and good battery life. I've done if before, on my Galaxy Nexus on 4.3, but it seems that something is wrong in KitKat. Let this be a place where we all dig deeper into this issue, perform tests, gather results, and then share and discuss them. Here's what I've got so far:
The wakelocks that cause this battery drain are NlpWakeLock and NlpCollectorWakeLock. Nlp stands for network location provider. As you may know, Android provides developers with two ways of gathering location information. One is through the GPS_PROVIDER, which uses the GPS, and the other is through NETWORK_PROVIDER, which uses cell towers and WiFi APs to get your position. According to their developer website[1] , NETWORK_PROVIDER uses less battery, is faster, but is less accurate. GPS uses more battery, takes longer, but is good if you want an accurate location. I'm assuming this particular wakelock uses NETWORK_PROVIDER.
I also did some digging using ROM Toolbox Pro's autostart manager. My guess was that Google Play Services must be triggered every time a certain intent is broadcasted, since nothing obvious is telling it to run. Turns out there are quite a few. 30, to be exact. However, many of them have to do with GCM and we don't really care about those. One of particular interest is one called com.google.android.location.internal.NlpNetworkProviderSettingsUpdateReceiver. It listens for the intent android.location.PROVIDERS_CHANGED. The LocationManager API's documentation[2] tells us this:
Broadcast intent action when the configured location providers change. For use with isProviderEnabled(String). If you're interacting with the LOCATION_MODE API, use MODE_CHANGED_ACTION instead.
Click to expand...
Click to collapse
I'd assume that this means when you change your location providers, such as enabling/disabling data, WiFi, GPS, etc.
However, location reporting only seems to use network location. If you're on KitKat, go to the location settings and choose device only. Then choose battery saving. It asks you to accept location reporting. Same thing when you choose high accuracy. What do both of those have in common? Network location. You can switch between those two as much as you want and it won't ask you to accept again. However, once you switch to device only and back it will ask you. This shows that it only uses network location.
I find that Google (Play) Services has 5% (+/- 1%) keep awake. Tested on both Nexus 5 running KRT16M and Galaxy Nexus running JWR66V. Both use a certain time of GPS, although that number is never increasing. I assume this is some sort of initial one-time lock. It can be disregarded.
One more thing I noticed is that this Google Play Services issue is much more prominent on KitKat. While they have happened before, often times a simple Play Store update would fix it. This time it seems to be location based. Guess what changed in KitKat? The way you deal with location settings. It may be that the way location settings are grouped in KitKat cause that intent to keep firing, and that in turn triggers something that eventually ends up being what you see as NlpWakeLock.
What I'm going to try next is disabling that intent receiver and then monitor that wakelock as well as if location reporting still works. Feel free to play around, and be sure to share your results.
To those who are suffering from these wakelocks, could you please share your settings? Such as what type of location mode you have (high accuracy, battery saving, device only), WiFi on or off, data on or off, signal strength, WiFi always scanning, Play Store and Play Services version, what device you have, Android build number, and what ROM/kernel you're using if you are using one? Any other info such as screenshots of battery screen, betterbatterystats, wakelock detectors, etc. will all be welcomed.
Here is the Reddit thread I created discussing the same issue: http://www.reddit.com/r/Android/comments/1rvmlr/nlpwakelock_and_nlpcollectorwakelock_discussion/
I don't have this device, nor do I know if I'll be getting it, but I must say that I applaud your method.
Bravo!
I just turn location reporting off then select 'battery saving' setting & accept the request for reporting when it pops up. This allows you to use network location without logging. Google now & maps work fine although not quite as accurate. I just turn on gps if i need navigation. Never get more than 2% usage from play services & it's giving me a total kept awake time of about 28mins out of 12hrs of use with 3hrs screen on time.
Sent from my Nexus 5 using Tapatalk
If I disable the wifi and 3g, leave my phone on battery saving location, google location set to on, it is using wifi always scanning only and it didnt consume 1% battery in a whole night
stumpy352 said:
I just turn location reporting off then select 'battery saving' setting & accept the request for reporting when it pops up. This allows you to use network location without logging. Google now & maps work fine although not quite as accurate. I just turn on gps if i need navigation. Never get more than 2% usage from play services & it's giving me a total kept awake time of about 28mins out of 12hrs of use with 3hrs screen on time.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That is working for me right now.
Sent from my Nexus 5 using Tapatalk 2
ickboblikescheese said:
To those who are suffering from these wakelocks, could you please share your settings? Such as what type of location mode you have (high accuracy, battery saving, device only), WiFi on or off, data on or off, signal strength, WiFi always scanning, Play Store and Play Services version, what device you have, Android build number, and what ROM/kernel you're using if you are using one? Any other info such as screenshots of battery screen, betterbatterystats, wakelock detectors, etc. will all be welcomed.
Click to expand...
Click to collapse
I am experiencing this issue on my Nexus 5, as confirmed by betterbatterystats (NlpCollectorWakelock 5.5% awake time)
ROM: CyanogenMod 11 alpha
Build Number: KRT16S
Location Mode: High accuracy
Location Reporting: Off
WiFi On: Sometimes
Play Store Version: 4.4.22
Play Services Version: 4.0.34
This issue first appeared for me the other day. I noticed that my device was not appearing in the online Android Device Manager, nor the desktop version of the Play Store. To fix the ADM issue, I disabled remote wipe, cleared data for Play Services, reenabled remote wipe, and rebooted. To fix my device not appearing in the Play Store, I cleared data for the Play Store app. Both issues were thereafter resolved, but now I am experiencing the Network Location battery drain.
Is it possible the problem is related to requests from Android Device Manager? I was under the impression that location for that purpose was 'on demand' instead of logged, but what do I know.
Thanks for doing this! Others, please feel free to use my comment as a template, and post your own data.
So I was playing around with autostart, and I accidentally caused a bunch of FCs for Play Services. Ended up freezing/defrosting and then uninstalling updates then let it update itself, and I noticed this (may or may not have anything to do with what I did): Even though it wakelocks, it barely uses up any batter. I was in an area of 2-3 bar HSPA+, with sync on, location reporting on at high accuracy, etc. and it drained 1% per hour. Still kept phone awake ~5% of the time, but battery usage was significantly better over what I recorded to be 4.8%/hour from last Friday.
EDIT: The only other change I can think of making is temporarily freezing Cerberus. I'll have to look more into that. However, check which apps are requesting your location. The new location settings in KitKat make this simple enough. For me it's only Google Now and Google Play Services, and whatever app that happens to require GPS such as camera (geotagging) and maps.
ickboblikescheese said:
So I was playing around with autostart, and I accidentally caused a bunch of FCs for Play Services. Ended up freezing/defrosting and then uninstalling updates then let it update itself, and I noticed this (may or may not have anything to do with what I did): Even though it wakelocks, it barely uses up any batter. I was in an area of 2-3 bar HSPA+, with sync on, location reporting on at high accuracy, etc. and it drained 1% per hour. Still kept phone awake ~5% of the time, but battery usage was significantly better over what I recorded to be 4.8%/hour from last Friday.
Click to expand...
Click to collapse
So, how should I replicate this? I'm using the Xposed Module that dev posted in your Reddit post.
stumpy352 said:
I just turn location reporting off then select 'battery saving' setting & accept the request for reporting when it pops up. This allows you to use network location without logging. Google now & maps work fine although not quite as accurate. I just turn on gps if i need navigation. Never get more than 2% usage from play services & it's giving me a total kept awake time of about 28mins out of 12hrs of use with 3hrs screen on time.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
How do you do this exactly? If I turn location reporting off, then I can't select the battery saving method because it's greyed out. This also causes location based cards to stop working on Google Now and Maps can't locate me either.
---------- Post added at 11:24 PM ---------- Previous post was at 11:19 PM ----------
natezire71 said:
So, how should I replicate this? I'm using the Xposed Module that dev posted in your Reddit post.
Click to expand...
Click to collapse
Use Titanium Backup to FIRST backup Google Play Services. Then use it to uninstall GooglePlay Services. Then open Google Now or Maps, they will ask you install Google Play Services and take you to the app store.
If anything goes wrong, use Titanium to restore.
You need location toggled on. Go down to location services & click on Google Location Reporting. Select off for both settings. Then go back out & select battery saving mode & accept the terms.
Sent from my Nexus 5 using Tapatalk
stumpy352 said:
You need location toggled on. Go down to location services & click on Google Location Reporting. Select off for both settings. Then go back out & select battery saving mode & accept the terms.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Turns out that's exactly how I had set up after all, doh! Thank you.
I have actually been getting really decent battery life, noticeably better than my HTC One, with exactly similar usage patterns and same apps installed etc.
Also, Play Services is not the only app that uses this NlpWakeLock. Facebook also uses it & in my case has the highest time kept awake. I turned off location in chat & noticed that it is much better.
Sent from my Nexus 5 using Tapatalk
That's what I thought too. That could explain why some people have this issue more than others.
Sent from my Nexus 5
ickboblikescheese said:
That's what I thought too. That could explain why some people have this issue more than others.
Sent from my Nexus 5
Click to expand...
Click to collapse
Have you tried the Xposed module that filters wake locks? I've been using it and the NLP counts have drastically dropped
No, not using xposed. I understand that wake locks must occur for accurate location services (otherwise what is doing the reporting). What shouldn't be there is the incredible battery drain. Wake locks don't necessarily mean battery drain. You could have a 1h wake lock and drain 1% battery, or a 5 min wake lock that keeps CPU on high frequency causing a 10% battery drain. I don't mind wake locks as long as battery isn't affected too much.
Sent from my Nexus 5
ickboblikescheese said:
No, not using xposed. I understand that wake locks must occur for accurate location services (otherwise what is doing the reporting). What shouldn't be there is the incredible battery drain. Wake locks don't necessarily mean battery drain. You could have a 1h wake lock and drain 1% battery, or a 5 min wake lock that keeps CPU on high frequency causing a 10% battery drain. I don't mind wake locks as long as battery isn't affected too much.
Sent from my Nexus 5
Click to expand...
Click to collapse
That was the point of this module. https://play.google.com/store/apps/details?id=in.andro.wlt. Take a look and read the description. From my understanding, the location stuff still works--which for me has been the case. However, it stops the unnecessary wakelocks. I would like to believe my battery has improved.
Nice thread!!
I've changed my location settings and I'll report if it works!!!
Thanks!!!
natezire71 said:
That was the point of this module. https://play.google.com/store/apps/details?id=in.andro.wlt. Take a look and read the description. From my understanding, the location stuff still works--which for me has been the case. However, it stops the unnecessary wakelocks. I would like to believe my battery has improved.
Click to expand...
Click to collapse
Please keep us posted on this works out for you, it looks really promising!
the7thson said:
Please keep us posted on this works out for you, it looks really promising!
Click to expand...
Click to collapse
I think it's working.
natezire71 said:
I think it's working.
Click to expand...
Click to collapse
Can you tell us which apps you disabled wake locks for?
Sent from my Nexus 7 using Tapatalk 4

[Q] Still chasing battery drain: Is it possible FingerPrint Unlock is part of it?

So having come from Verizon's Note 4 and averaging up to 24hrs on battery running pretty much the same setup as I do now on my T-Mobile Note 4 minus the "Root" & "Custom Rom" abilities. Otherwise, same apps, accounts, usage pattern, ect...
I am on an ongoing battle still after several complete wipes, different Roms including just running STOCK ANK4 and trying to figure out what is going on. Phone defect? Battery defect?
Anyhow, Ever since changing over to both the T-Mobile Note 4 & their service, my experience has been a rather miserable 14 to 18hrs MAX battery life and going from 4hrs screen on time to around 2 1/2 w/ T-Mobile.
Which now leads me yet to wonder something else. I believe I started using the "FingerPrint" security feature since switching to T-Mobile to unlock the device. Has anyone experienced a similar "Battery longevity" issue using said feature before I continue troubleshooting and chasing my own tail on this? Of course I will eventually test this theory anyhow, but figured I would throw it out there.
Also, Open to any suggestions.
Just some things I have already done along with the above mentioned:
- Utilized the App "Greenify" & donation full version to greenify many apps including "Google Play Services".
- Set up Profiles which I toggle via "PhoneWeaver" to turn off data when on Wi-Fi which consists of 90% of my day as I'm Wi-Fi connected both at home and work.
- Of course always turn off that option within Wi-Fi settings to untick "Always Scan".
- Went into "Google" app settings and turned off about everything I can find in there and it's now rather complex settings.
- Turned off most syncing of my 2 "Google" accounts to only one having anything other than Email Sync active such as the Calendar, Contacts, and Apps Sync. - Again, my 1 Google Account I only have set to sync Email and nothing else.
Sure I forgot some things I've tried but again, I am open to any/all suggestions. I admit, I bought my T-Mobile via Swappa. All seemed well as per their checklist of the obvious things to check regarding the phone's operation. Kind of stuck here now and wondering if my device is simply defective and/or the battery.
Also of note: Android System is always by far the largest contributor to my battery drain and exceeds even Screen-On time by around 10%. But then again, don't really know if that means anything or not since even before switching carriers and the transition from "JellyBean" to "KitKat" on my previous S4, Android System became a forever battery hog for me.
Just never had a top end device such as this in past years barely get me through a complete day: Work & Home time. I don't consider myself a heavy user. Barely even "Moderate" many days as I mainly text during my lunch break, otherwise phone is pretty much idle. And say 2 phone calls of aprox 20 min.s each during commute time. Yea, something just isn't right. :crying:
I have noticed 3 things that were hurting battery bad.
1.) Use the Google play services with the 030 extension. I get way better battery life on it 5% to 10% increase in battery life. Link below:
http://www.apkmirror.com/apk/google...ices-7-0-99-1809214-030-android-apk-download/
2.) If you are not using maps or other location services turn your location off. Literally a 20%+ increase in battery from this alone.
3.) Toggle your NFC. Something in Android 4.4.4 sometimes causes your NFC to wake lock. If you turn it on then turn it off one time it normally fixes is.
I attached my battery stats below.
It with about 2 hours of screen on time.
Sent from my SM-N910T using XDA Free mobile app
ShrekOpher said:
I have noticed 3 things that were hurting battery bad.
1.) Use the Google play services with the 030 extension. I get way better battery life on it 5% to 10% increase in battery life. Link below:
http://www.apkmirror.com/apk/google...ices-7-0-99-1809214-030-android-apk-download/
2.) If you are not using maps or other location services turn your location off. Literally a 20%+ increase in battery from this alone.
3.) Toggle your NFC. Something in Android 4.4.4 sometimes causes your NFC to wake lock. If you turn it on then turn it off one time it normally fixes is.
I attached my battery stats below.
It with about 2 hours of screen on time.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the reply and suggestions! I just checked and I am currently running Google Play Services V 7.0.97 (1791429-030).
A couple things I have done meanwhile since my OP which have had "some" noticeable positive effects on my battery duration, yet still no where near what you have posted are:
Within "Google Settings" app:
- Account History ( I have "turned off or rather paused" ALL the Activity/Info/History settings here - All 5)
Regarding my 2nd, basically "Junk mail" Gmail Account:
- Now have ALL "Sync" turned off within, including the syncing of email, which I now simply check manually to update.
Greenify:
- Revisited, and added a bunch more apps and pretty much "Greenified" ALL Samsung related entries/services/ect...
So far I have increased to achieving up to about 3 1/2 hrs Screen time (Gained 1 hr) & a few more hours of real time battery longevity as I can now achieve close to 20hrs before needing charge.
Still feel I have some troubleshooting to go. Oh, I actually have the NFC Service "Greenified" to. So far haven't really noticed a problem with "Deep Sleep" either according to CPU SPY pro.
Yep, Have always had the Location Service to OFF, not even using the so called "Battery saving" selection with it. Such a pity to have to cripple such things but it's a trade off I guess in achieving a full day's battery vs.s using the features with this phone for some reason more-so than past devices it seems. At least in my case. :silly:

Categories

Resources