Related
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?
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
So since the latest Google Play Services update, I have been suffering some serious battery drain issues. There are various mentions all around the internet and most point to the issue being 4.2.1, which, we aren't running.
I spent some time over the last few days trying to figure out what the issue is and have some observations. But, for some background, last few days I have been getting no more than 10 hours battery with no more than an hour or two screen time.
Google Play Services is listed as the biggest battery drainer with 49%, so I started looking into that.
First off, I noticed in battery stats that if Wifi is on, the device doesn't deep sleep, even though wifi is set to never on when sleeping, the wifi never turns off and the phone never deep sleeps.
First thing to try was turning off wifi, so, I turned off wifi, straight away, phone deep sleeps again.
Next I began messing with Google related things, first of all I "uninstall updates" on GPlayS, tested with Wifi on, great, no more battery drain, phone sleeps, BUT, phone keeps bugging me with notifications to update.
Next was to update, battery drain returns. So, disable Google Now in its own settings, battery drain remains when on Wifi, however, if I kill "Google Search" after disabling Google Now, the battery drain stops.
Various mention on the internet has attributed it to location history and location services in the "Google Settings" however I have had those disabled for a few days now and they seem not to be the issue in this case.
My conclusion so far is that the link between the latest GPlayS and Google Now is the real killer.
At present, I have Google Now disabled, and no battery drain, Wifi turns itself off as it should and the phone sleeps. This isn't a great solution since I use Google Now regularly.
I'm hoping that unless someone has come up with a realistic solution that doesn't involve disabling services, Google will release an update to fix the issue.
Currently without access to another device other than my N10, I'm unable to test whether this particular version of the issue is specific to the XZ or the GoogleNow/GPlayS versions.
My next test is to install Network Info from F-Droid and Better Battery stats, and see if I can attribute the thing preventing wifi from turning off during sleep, and hence the failure for the device to deep sleep, to a particular activity going on.
Further, I have already tested the GPlayS related services by disabling everything such as Calendar and Contact Sync, disabled all of books, movies, photo sync, disabled Google Plus, none of these had any effect on the issue, which all but rule them out of the equation.
Has anyone else got observations on this, is anyone else suffering the issue, or has anyone got a real solution?
I'm off on Holiday on Saturday and would really like to have access to Google Now back, but not have the battery drain that's going to kill my battery while roaming the streets of Rome without access to a charger.
alias_neo said:
So since the latest Google Play Services update, I have been suffering some serious battery drain issues. There are various mentions all around the internet and most point to the issue being 4.2.1, which, we aren't running.
I spent some time over the last few days trying to figure out what the issue is and have some observations. But, for some background, last few days I have been getting no more than 10 hours battery with no more than an hour or two screen time.
Google Play Services is listed as the biggest battery drainer with 49%, so I started looking into that.
First off, I noticed in battery stats that if Wifi is on, the device doesn't deep sleep, even though wifi is set to never on when sleeping, the wifi never turns off and the phone never deep sleeps.
First thing to try was turning off wifi, so, I turned off wifi, straight away, phone deep sleeps again.
Next I began messing with Google related things, first of all I "uninstall updates" on GPlayS, tested with Wifi on, great, no more battery drain, phone sleeps, BUT, phone keeps bugging me with notifications to update.
Next was to update, battery drain returns. So, disable Google Now in its own settings, battery drain remains when on Wifi, however, if I kill "Google Search" after disabling Google Now, the battery drain stops.
Various mention on the internet has attributed it to location history and location services in the "Google Settings" however I have had those disabled for a few days now and they seem not to be the issue in this case.
My conclusion so far is that the link between the latest GPlayS and Google Now is the real killer.
At present, I have Google Now disabled, and no battery drain, Wifi turns itself off as it should and the phone sleeps. This isn't a great solution since I use Google Now regularly.
I'm hoping that unless someone has come up with a realistic solution that doesn't involve disabling services, Google will release an update to fix the issue.
Currently without access to another device other than my N10, I'm unable to test whether this particular version of the issue is specific to the XZ or the GoogleNow/GPlayS versions.
My next test is to install Network Info from F-Droid and Better Battery stats, and see if I can attribute the thing preventing wifi from turning off during sleep, and hence the failure for the device to deep sleep, to a particular activity going on.
Further, I have already tested the GPlayS related services by disabling everything such as Calendar and Contact Sync, disabled all of books, movies, photo sync, disabled Google Plus, none of these had any effect on the issue, which all but rule them out of the equation.
Has anyone else got observations on this, is anyone else suffering the issue, or has anyone got a real solution?
I'm off on Holiday on Saturday and would really like to have access to Google Now back, but not have the battery drain that's going to kill my battery while roaming the streets of Rome without access to a charger.
Click to expand...
Click to collapse
I shut it off it was draining my battery!
I had the same problem.
And here's a solution for you: Factory data reset
After that there will be no problems with battery drain.
NXT3 said:
I had the same problem.
And here's a solution for you: Factory data reset
After that there will be no problems with battery drain.
Click to expand...
Click to collapse
I did a factory reset and have the problem.
So the amount of battery drain has lowered significantly, but it is still there. I attached a screenshot from before the change and a screenshot from after.
use link 2 sd ( root required ) search at playstore
open it and seacrh google play service
option and sleep it..and u done
echopark15 said:
use link 2 sd ( root required ) search at playstore
open it and seacrh google play service
option and sleep it..and u done
Click to expand...
Click to collapse
it must be a way without root
Update Google play Service to version 5.x
Trying to get the most out of the battery. Tried turning as much as I could off. Any suggestions for optimal settings while not cutting all the good out. Currently running 5.1 pure. Rooted greenify everything that says running NFC off BT off location set battery saving. Google now cards off. Still getting extremely high Google services percent. Phone currently at 30%
Also under security and apps with usage access what is this MotoCarelnt.
What SOT are you getting?
OK here is today's still at 64% but barely used the phone and google services still seems high considering I've tried to basically disable everything possible. Also SOT yesterday was about 2hrs.
Sent from my XT1095 using XDA Free mobile app
Here's today's still getting high Google services
Is it just normal or what
I having the same issue. battery draining like mad since I installed 5.1 leak rom. I'm on pure version, not rooted.
Post pics of battery info is your Google services really high
Sent from my XT1095 using XDA Free mobile app
I've been having the same issue the past couple weeks. Phone seems to be staying awake (reported under Android OS). I've tried uninstalling a bunch of apps, turning off BT and location services, etc. Doesn't seem to be doing any good. I used to go to bed with about 50% battery. Now I'm lucky if I have 10% left. Maybe 2 hrs SOT with 50% brightness.
Ok I found this from another thread from another site but I think this might finally be fixed. So go settings->app->all-> then scroll down to google play services. Select uninstall updates and then clear dalvik cache and regular cache and bam! Google services no longer killing battery. Also turn off all the location reporting from Google and anything else you can find and turn off syncing that isn't needed. 2hrs sot at 69% not too bad and also turn LTE preferred to H+ still plenty fast and saves more battery.
so here's the stats after these settings
Definitely better but Google services seem to come creeping back later in the day.(which was said may happen). SOT still pretty dam good but will be interesting to see tomorrow. Obviously there's some little bug going on but I can live with it. Maybe one day someone will actually figure it out. Still an awesome phone. 5hrs SOT at 10% can't complain to much but would be nice to get through a day
I have exactly the same problem! But this didn't happen before. As you can see on my screen. Everything was OK, than I used my phone for a little while and from that point it started draining the battery like crazy. And I din't touch it most of the time! ...
matt1515 said:
Ok I found this from another thread from another site but I think this might finally be fixed. So go settings->app->all-> then scroll down to google play services. Select uninstall updates and then clear dalvik cache and regular cache and bam! Google services no longer killing battery. Also turn off all the location reporting from Google and anything else you can find and turn off syncing that isn't needed. 2hrs sot at 69% not too bad and also turn LTE preferred to H+ still plenty fast and saves more battery.
Click to expand...
Click to collapse
gonna try this method, its seems a real improvement.
and I have a question, does playing music from a usb otg drain battery?
How do you clear cache and dalvik on unrooted moto x
pagep said:
I have exactly the same problem! But this didn't happen before. As you can see on my screen. Everything was OK, than I used my phone for a little while and from that point it started draining the battery like crazy. And I din't touch it most of the time! ...
Click to expand...
Click to collapse
I have also noticed that this insane battery drain happens only when I have gps enabled.
justpastfinish said:
How do you clear cache and dalvik on unrooted moto x
Click to expand...
Click to collapse
https://motorola-global-portal.cust...prod_answer_detail/a_id/101078/p/30,6720,9197
glarepate said:
https://motorola-global-portal.cust...prod_answer_detail/a_id/101078/p/30,6720,9197
Click to expand...
Click to collapse
Thanks
matt1515 said:
Ok I found this from another thread from another site but I think this might finally be fixed. So go settings->app->all-> then scroll down to google play services. Select uninstall updates and then clear dalvik cache and regular cache and bam! Google services no longer killing battery. Also turn off all the location reporting from Google and anything else you can find and turn off syncing that isn't needed. 2hrs sot at 69% not too bad and also turn LTE preferred to H+ still plenty fast and saves more battery.
Click to expand...
Click to collapse
Hey did you update google services after this? Or you are using old version?
Hi. Can someone help me with my problem?
Im facing massive battery drain even after wipe, im only getting around 3/4h SOT. In BBS, 2 alarms are weird Job.delay. And job.deadline. I have wiped my phone, installed last version of rom, after that i have restored my apps. Problem still exist. Next i have installed kirasakura kernel and then frozen every of my apps, and its still there. After night im losing around 10/20% of battery. Im attaching some screens from bbs. Thanks in advance for every help.
i'll try to help as much as i can. install servicely and look at running services. if you see something weird, stop that service.
also, i see you're using bluetooth. that thing drained my battery as bluetooth would stay turned on even when it says it's off. what you can do is turn it on and off and it should stop bluetooth service from running.
in servicely you can disable apps from running in the background. maybe some app is running full throttle even tho you thought you closed it.
another thing you can check is if xmode is running. once i had system turning on xmode on even tho i closed the app that used it.
as you're rooted, check with some kernel manager what cpu governor is turned on. maybe the system is stuck in performance mode.
lastly, you can check your battery capacity. maybe it needs calibration. that could also result in battery drain as it's not charged to the max.
also, android 10 is generaly badly optimised for our phone. it has some good features, but powerwise it's not that efficient.
if nothing works out, i'd suggest returning to latest android 9 and do battery calibration.
Thanks for answer. I have installed servicely but im not see anything suspicious. Xmode is off, governor ist in performance mode. About battery calibration, i dont need extra juice from my battery, i want to lose 1% over night, not 20%.. Probably around July/august everything was fine, my battery last for almost 3 days, now something eating it alive and i dont know what is it. Can i somehow check which app generate this "job" alarms? In BBS its "Android" only..
battery calibration isn't about extra juice, it's about system showing the right percentage. you could lose a lot of battery because it doesn't get charged to its max capacity.
there could also be a problem with the lastest update. when i was seeing a lot of battery drain, i had it because system constantly used location services. check in services if there are any location processes running. also it could be because of network. maybe your phone is constantly switching between 3g and 4g.
you can also check in the kernel manager what is your current battery draw in mAh. if its always over 300mAh, then you have a problem.
look for a wakelocks running in the background and disable and enable some to get them resetted.
Probably u have solved my problem. Even after turning off location, i still have some running services with location in name. I have blocked all of them in servicely and after night i lost 1% of battery. I will check now in later days. Thanks a lot
DarkSoul88 said:
Probably u have solved my problem. Even after turning off location, i still have some running services with location in name. I have blocked all of them i servicely and after night i lost 1% of battery. I will check now in later days. Thanks a lot
Click to expand...
Click to collapse
A reload generally solves nothing and wastes time. It's always best to find the root cause(s) and address them directly otherwise they tend to reoccur.
Viruses (never had to), boot loops (prey it works) and old loads are the only times I reload.
DarkSoul88 said:
Probably u have solved my problem. Even after turning off location, i still have some running services with location in name. I have blocked all of them in servicely and after night i lost 1% of battery. I will check now in later days. Thanks a lot
Click to expand...
Click to collapse
yeah i thought it could be that. it's also worth checking if you have "find my phone" turned on. it's somewhere in the settings. search for device admin apps. if you see any apps turned on as device administrators, turn that off. those could also drain battery
Yep, i have turned off "find my phone" now. Thanks once again. Now i have nearly 8h SoT again. I hope it will be all good now
i'd still do battery calibration if i were you. 8 hours of sot is not that much. i mean, it is if you're playing games all the time
After couple of days, problem is back. No new apps, 3 days was good, 0/1% drain in night, now its again about 15/20%. I will just sell this phone becouse i dont have any more patience...6000mah and my OP3 with half of that value can ez get about 5h sot. Aktually im getting about 3/4h sot and 3h calls. When i have bought this phone i have had about 10 h SOT and 5 h of calls in 3 days of usage. Never again gonna buy phone from asus. Thanks guys for every help
i wouldn't condemn the whole brand because of one phone model.
also try going back to android 9 and check how's the battery drain without any apps installed. then start installing your apps and monitoring if the drain will increase.
i'm currently on android 10 and there is some major problem with battery regulation. raw capacity goes below zero when the percentage is below 10 percent. no wonder the whole system starts stuttering when battery level is below 3%.