Battery drain due to RILJ. (Solved!)

Search This thread
Nov 24, 2010
43
21
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
 

gumbald

Senior Member
Apr 7, 2010
333
99
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!
 
Last edited:
  • Like
Reactions: johnnylightning041

.apk

Member
Oct 18, 2012
47
20
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!
 

Elai012488

Member
Feb 4, 2013
16
1
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. :D
 
  • Like
Reactions: myrums

hypocorism

Member
Apr 23, 2009
6
0
Alternative way to pick "Do not update your location"

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. :D


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.
 
Last edited:

satven21

Senior Member
Dec 4, 2012
81
20
Bangalore
samsung galaxy note gt n7000

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.


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. :D:cowboy::cowboy::eek:

Check this link: http://forum.xda-developers.com/showthread.php?p=39163079#post39163079
 

g.andi

Senior Member
Sep 18, 2014
525
211

vasilis_

Senior Member
Jan 5, 2015
188
9
Xiaomi Poco X3 Pro
in case i deleted google maps what i can do bro?

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.

any suggestion for a solution?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    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
    1
    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!
    1
    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
    1
    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. :D