[Q] Battery Problems - Galaxy S III Q&A, Help & Troubleshooting

Hello.
This is a cry-for-help kinda question as I have exhausted every other possible solution to fix my problem.
I have a massive problem with battery loss and phone not going to deep sleep mode.
I am currently using ParanoidAndroid 2.54 with default (and tried Siyah 1.8). Needless to say it is JB 4.1.2 and everything is running without any problems apart from the battery issue. This is the international (UK) Galaxy S3 i9300.
So, I've lost 50% in space of 2hrs!
The CPU is never entering deep sleep mode but always stays on 200Mhz (ofc checked when not in charge). I've installed CPUSpy to verify this, and also installed BatteryStatPro to see the full details. The offending processors are:
MultiPDP 66.7%
secril_fd-interface 34.6%
I2_hsic 15.9%
wlan_rx_wake 15.8%
PowerManagementService 13%
rpm_hsic 8.3%
umts_ipc0 8.3%
tx_hsic 4.6%
Now from a quick internet look up, it looks like FastDormancy is the culprit. So I went ahead and disabled fast dormancy using Gokhal's app and rebooted the phone. Needless to say, no changes happened.
Just for clarity, I am never connected to WiFi - always on T-Mobile UK H+ Network. I have a full bar network connection.
Prior to going to PA JB 4.1.2, I was on MIUI ICS 4.0.4 and I didn't have this problem. I have also the latest JB baseband for i9300 which is I9300XXDLID.
Any help, even clues, anything really, would help me greatly!
Thanks,
Mo.

103 views, and not a single thought?

I'm on Orange (EE) and they support fast dormancy, can you post screen shots of kernel wakelocks and partial wakelocks?
---------- Post added at 04:46 PM ---------- Previous post was at 04:45 PM ----------
Also get get ril from play and see if your ril matches baseband

slaphead20 said:
I'm on Orange (EE) and they support fast dormancy, can you post screen shots of kernel wakelocks and partial wakelocks?
Also get get ril from play and see if your ril matches baseband
Click to expand...
Click to collapse
Thanks for the reply.
My RIL does NOT match the radio:
RIL: XXDLIB
Baseband: XXDLID
I will downgrade to XXDLIB but I doubt that would fix anything.
Meanwhile, I've attached what you asked for. Please do remember that Kaiten *shouldn't* be the cause of this problem as I have not touched the settings from ICS to JB (didn't have the battery issue in ICS).
Attachments:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks again,
Mo.

Might be worth a clean flash to see if it resolves it

slaphead20 said:
Might be worth a clean flash to see if it resolves it
Click to expand...
Click to collapse
I've done that too. No changes!
I've got two more screenshots for you. The previously ones where only for the past 13min, these are since the last reboot (which was ~3hrs ago):
Anything you could tell me from these screenshots?
Ah yea, also, I am not seeing the network name in the notification bar dropdown (you know where you can drag up/down the notification window). It previously used to say T-Mobile UK, but now only says No Service.
However I've got full H+ Signal (both calls and internet). On top of it all, if I go Settings > About > Status, then I can see T-Mobile UK.
And lastly, network search fails with no results. Which is very *very* weird.
I appreciate all your help.
Mo.

mofirouz said:
I've done that too. No changes!
I've got two more screenshots for you. The previously ones where only for the past 13min, these are since the last reboot (which was ~3hrs ago):
View attachment 1541839
View attachment 1541840
Anything you could tell me from these screenshots?
Ah yea, also, I am not seeing the network name in the notification bar dropdown (you know where you can drag up/down the notification window). It previously used to say T-Mobile UK, but now only says No Service.
However I've got full H+ Signal (both calls and internet). On top of it all, if I go Settings > About > Status, then I can see T-Mobile UK.
And lastly, network search fails with no results. Which is very *very* weird.
I appreciate all your help.
Mo.
Click to expand...
Click to collapse
I'd suggest trying a different modem / baseband. As far as I can see its a network problem. Since you are not using wifi and only mobile data you should consider a new modem.

bnbasarir said:
I'd suggest trying a different modem / baseband. As far as I can see its a network problem. Since you are not using wifi and only mobile data you should consider a new modem.
Click to expand...
Click to collapse
Ok will do that and report back.
I am now downgrading both my RIL and radio.
Cheers,
Mo.

Your wakelock shows media scanner a lot. There's a thread regarding how to disable it. Try that?
Sent from my GT-I9300 using xda premium

mofirouz said:
Ok will do that and report back.
I am now downgrading both my RIL and radio.
Cheers,
Mo.
Click to expand...
Click to collapse
Hi. Downgraded my radio and RIL. Didn't fix anything at all. Still phone does not go into deep sleep mode.
xcly said:
Your wakelock shows media scanner a lot. There's a thread regarding how to disable it. Try that?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Media Scanner is not an issue as very little battery was lost when the phone was in airplane mode (3% in 6hrs!). Also if you look closely at the screenshots, MediaScanner only takes 2.5% of the partial wakelocks!
Don't really know what to do, unless I upgrade to CM10 official or something. Currently the phone is running phanandroid 2.54 which is based on CM10-RC0.
Thanks,
Mo.

Update:
Summary, issue is not fixed but a bit better than before (battery-wise). I moved roms from Phanandroid to CM10 Nightly. I have the latest radio and matching RIL.
Battery consumption is a lot less now, but still multipdp is taking the most battery. I can actually see the phone going to Deep Sleep for about 15% of the time, the rest of the time usually on 200MHz. I am now outa ideas and I am pretty sure that this is a rom issue ....
If there is anything else I could do, please do let me know.
Kindest regards,
Mo.

mofirouz said:
Update:
Summary, issue is not fixed but a bit better than before (battery-wise). I moved roms from Phanandroid to CM10 Nightly. I have the latest radio and matching RIL.
Battery consumption is a lot less now, but still multipdp is taking the most battery. I can actually see the phone going to Deep Sleep for about 15% of the time, the rest of the time usually on 200MHz. I am now outa ideas and I am pretty sure that this is a rom issue ....
If there is anything else I could do, please do let me know.
Kindest regards,
Mo.
Click to expand...
Click to collapse
Your ROM is not responsible for battery management, kernel is. Also network hungry apps are generally the reason for high wifi - data usage and hence multipdp holding wakelocks.
Which kernel are you using? How many apps are using background data? Do you have fetching apps like Facebook, Twitter, Google+? How many gmail accounts? How many corporate emails? Sync frequency of all the apps can tell us a lot.
If you can provide these we might be able to help.
Sent from my GT-P7510 using Tapatalk 2

bnbasarir said:
Your ROM is not responsible for battery management, kernel is. Also network hungry apps are generally the reason for high wifi - data usage and hence multipdp holding wakelocks.
Which kernel are you using? How many apps are using background data? Do you have fetching apps like Facebook, Twitter, Google+? How many gmail accounts? How many corporate emails? Sync frequency of all the apps can tell us a lot.
If you can provide these we might be able to help.
Sent from my GT-P7510 using Tapatalk 2
Click to expand...
Click to collapse
Hey. Thanks for the reply.
I am using Siyah Kernel (1.8 and 1.8.4) ..
As I said previously, I haven't changed apps since I was on ICS.
- I have just one Facebook account. No contact syncing there - but I do have notifications running.
- One Gmail account with email syncing off.
- I do have three email accounts (managed by Kaiten Email) which use Push notification - thus there shouldn't be any polling.
- And no cooperate emails at all.
And you are right, power management is done by the kernel. However, this isn't power management - it's connectivity management and both kernel and ROM affect and are affected.
Thanks.

mofirouz said:
Hey. Thanks for the reply.
I am using Siyah Kernel (1.8 and 1.8.4) ..
As I said previously, I haven't changed apps since I was on ICS.
- I have just one Facebook account. No contact syncing there - but I do have notifications running.
- One Gmail account with email syncing off.
- I do have three email accounts (managed by Kaiten Email) which use Push notification - thus there shouldn't be any polling.
- And no cooperate emails at all.
And you are right, power management is done by the kernel. However, this isn't power management - it's connectivity management and both kernel and ROM affect and are affected.
Thanks.
Click to expand...
Click to collapse
ICS and JB are very different in terms of memory and battery management. I was getting 2 days with moderate usage on ICS and now on JB getting roughly one day with same usage pattern.
Network itself can't be the reason unless you have a rouge app. The phone keeps a wakelock to accomplish certain tasks like checking for email, Facebook, Twitter so on and so forth.
As far as I can remember you were not using wifi. I think you should consider using a wifi for a day or two and see the Wakelock situation. Mobile Data is a battery killer. Most of the time when you see full signal with H+ (or whatever) that actually doesn't mean that your Internet is running at its best.
Can you do that? Use wifi for a while when you are on or off the phone. (screen on and off)
Sent from my GT-I9300 using Tapatalk 2

bnbasarir said:
ICS and JB are very different in terms of memory and battery management. I was getting 2 days with moderate usage on ICS and now on JB getting roughly one day with same usage pattern.
Network itself can't be the reason unless you have a rouge app. The phone keeps a wakelock to accomplish certain tasks like checking for email, Facebook, Twitter so on and so forth.
As far as I can remember you were not using wifi. I think you should consider using a wifi for a day or two and see the Wakelock situation. Mobile Data is a battery killer. Most of the time when you see full signal with H+ (or whatever) that actually doesn't mean that your Internet is running at its best.
Can you do that? Use wifi for a while when you are on or off the phone. (screen on and off)
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I don't think that's an actual solution - my problem is that I don't have wifi at work thus I have to use Mobile Data........
I use WiFi at home, and sure the battery lasts a lot longer. I've lost 8% from 11pm till 7am when connected to WiFi.
I do know that certain things are very different in JB compared to ICS - but most of those things have changed to make the UI more responsive (I'm referring to project butter and CPU freq jump when interacting with the screen). Given that the phone's screen is off, this isn't applied.
But something has changed - maybe in the JB codebase, maybe in the JB radios, maybe in the CM codebase. Given that upgrading rom made the issue a bit more bearable I would go back and say that CM is the culprit.
But again, this isn't a solution - and we still don't know WHAT exactly is causing this.

mofirouz said:
I don't think that's an actual solution - my problem is that I don't have wifi at work thus I have to use Mobile Data........
I use WiFi at home, and sure the battery lasts a lot longer. I've lost 8% from 11pm till 7am when connected to WiFi.
I do know that certain things are very different in JB compared to ICS - but most of those things have changed to make the UI more responsive (I'm referring to project butter and CPU freq jump when interacting with the screen). Given that the phone's screen is off, this isn't applied.
But something has changed - maybe in the JB codebase, maybe in the JB radios, maybe in the CM codebase. Given that upgrading rom made the issue a bit more bearable I would go back and say that CM is the culprit.
But again, this isn't a solution - and we still don't know WHAT exactly is causing this.
Click to expand...
Click to collapse
You've got me all wrong. I was suggesting to use wifi so you can get a BBS dump and than use mobile data, get a new BBS dump and we can have something to compare to.
Nevertheless, your multipdp wakelock can only be due to high data traffic. The phone doesn't keep a data connection by itself if an app doesn't aks for it. One of the apps use are using is responsible, we know that. The problem is we don't know which one asks for so many connections and since you ruled out modem / baseband as motive we should drill the apps.
Sometimes restoring apps from TB can cause issues and you may need to set up some apps manually.
Can you dump the alarms and processes from BBS?
Sent from my GT-I9300 using Tapatalk 2

Related

NetworkLocationLocator Wakelock

Hello all,
I am more than happy with my SIII but I'm finding a wakelock rather disturbing. It happens as soon as i turn on the "Use wireless networks" under the Location services settings.
If it's turned off, the wakelock disappears. But you know, it's hard to live with it turned off, as it greatly helps the GPS set a location way faster than it would do on its own... So using location based apps while it's off is a pain in the ass.
Any suggestions?
Thanks
Alphadan said:
Hello all,
I am more than happy with my SIII but I'm finding a wakelock rather disturbing. It happens as soon as i turn on the "Use wireless networks" under the Location services settings.
If it's turned off, the wakelock disappears. But you know, it's hard to live with it turned off, as it greatly helps the GPS set a location way faster than it would do on its own... So using location based apps while it's off is a pain in the ass.
Any suggestions?
Thanks
Click to expand...
Click to collapse
Nothing can be done about it really. Applications poll location data constantly when this option is ticked. It even tells you data is collected in the background regardless of what you are doing. To be honest many can cope with the 5-10 second wait for a GPS fix. Either deal with the drain or disable it.
5-10 seconds?? Most of the time I get message saying current location is temporarily unavailable, especially when I'm indoors.
I can't believe I have to deal with this problem. Am I the only one with this problem?? I was expecting a better answer.
just deactivate it. if you use a gps-app it will tell you to activate GPS anyways and while doing that you can then activate the network location as well.
with lbe privacy guard you can Block it if you are rooted
Sent from my GT-I9300 using xda app-developers app
So basically there's no proper fix for this. All I can do is work around the issue? Coming from an iphone I feel this is a bit frustrating.
Thing is that the option I have to disable does not use GPS. It uses mobile signal and WiFi radios, so turning off GPS is useless.
Can anybody else help?
disable Google now,I think you will find that is what is polling your location
slaphead20 said:
disable Google now,I think you will find that is what is polling your location
Click to expand...
Click to collapse
It's been disabled all along, as I am Spanish and the current support for that language is nonexistent.
Any other ideas guys?
Alphadan said:
So basically there's no proper fix for this. All I can do is work around the issue? Coming from an iphone I feel this is a bit frustrating.
Click to expand...
Click to collapse
coming from iPhone then you should know that the 4S had a similar problem when it came out, and the workaround was about the same...how you felt back then??
edit
how do you check if you have partial wakelock on an iphone btw??
Disable location in general and use Tasker or make a profile on AOSP rom to turn on location service when you're going out. After all you don't need location indoors right?
Sent from my GT-I9300 using xda premium
Tokarin said:
Disable location in general and use Tasker or make a profile on AOSP rom to turn on location service when you're going out. After all you don't need location indoors right?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Well, in theory, your solution sounds awesome. But as i stated earlier, there's a small problem: battery drain is not caused by the GPS itself, but by the other "tricks" the phone has in order to find a location (wifi and radio).
I don't know about that problem with the 4S, but as you said, it occurred when it came out. The SIII has been out for 6 months now, and there's been several updates, yet the issue is still there.
BTW, i check the partial wakelocks with Better Battery Stats (you can find it for free here on the forums)
Just a general question... Does anyone else have this issue? If any of you guys do, then i'll learn to live with it, but being the only one would really make me feel silly.
Well, I just don't use that option, AFAIK the new cm10 build changed the GPS so that it no longer favor the North America but search for the nearest satellite instead. I notice this change already make my gps quick enough so I don't bother..
Sent from my GT-I9300 using xda premium
I have the same problem. The only solution I found was to disable networks location. Is there any app to identify clearly what is the app that it's requesting location from Google services? It is not maps because with 3g watchdog installed it reports separated (maps and Google services) the leak is on Google services.
Ps: I have found that this problem only exists when connected to a WiFi network. On 3g the requests are less intensive.
Sent from my GT-I9300 using Tapatalk 2
Well I've just been doing some investigating with Better Battery Stats to find out why my battery was so bad with JB compared to ICS, then googled the NetworkLocationLocator as that seems to be the problem which brought me here (I'm a member anyway).
I must say it's pretty disappointing that this problem is occurring because surely the same option was being used in ICS and it never drained my battery back then. The only thing I can think of is Google Now has something to do with this. I have Google Now disabled anyway as (although it's a brilliant feature) it doesn't really benefit me as I don't travel around much, but I get the feeling that is the root of this problem because that's the biggest change in coming from ICS to JB (other than cosmetics and UI) right?
This is not even a problem.
People tick all kind of options or fail to go to see their apps properly starting from Facebook, Google+ , Google now, weather apps... And then complain how come they get excessive polling.
Problem lies in those same people wanting those services to record their location , but don't want any battery drain... At least case with all those around me that asked.
Trust me without WiFi and network triangulation the same services when allowed waste way more power using real GPS.
Testing JKay alpha on GT-I9300
Idan73 said:
This is not even a problem.
People tick all kind of options or fail to go to see their apps properly starting from Facebook, Google+ , Google now, weather apps... And then complain how come they get excessive polling.
Problem lies in those same people wanting those services to record their location , but don't want any battery drain... At least case with all those around me that asked.
Trust me without WiFi and network triangulation the same services when allowed waste way more power using real GPS.
Testing JKay alpha on GT-I9300
Click to expand...
Click to collapse
Thanks for the sweeping generalisation but I had the exact same option ticked in ICS and it was never a problem. Fact is in JB it causes a problem for some reason. It may be Google Now, who knows, but one things for sure, I should be able to have that option ticked and not have it keep my phone awake all night.
Sent from my GT-I9300 using xda app-developers app
Maybe I misunderstood. Sorry.
I use Google now and maps for network location as well as fancy widget polling every 2 hours. All other apps I individually where permitted set to off.
This setup does not keep my phone all night. I see where it wakes the phone in intervals and does its thing and goes back to sleep. Combined with my exchange email polling every hour overnight, I don't see any excessive battery usage compared to what I had with ICS.
Testing JKay alpha on GT-I9300
Turn of location history, leave the rest on. Wakelock is still there but less.

Need expert help about RILJ and other wakelocks

Hello
First of all, sorry of any bad or wrong english, it's not my native language.
I have a very annoying wakelocks problem with my I9100T.
My carrier is Pelephone (Israel), I bought the device about a year and a half ago.
A few months after I got it, I decided to root and to flash a different rom.
I've had many roms since them, mostly stock-based, but I've tried a few AOKPs too.
The problem is basically this:
No matter what rom or what kernel or what modem I install, battery is terrible. With the help of BBS I was able to learn that the cause of this is excessive wakelocks, mostly RILJ, radio-interface, l2_hsic and umts-ipc0. This causes an extreme battery drain, 25%-35% drain in a 7-hour sleep night with wifi/3g/bt/gps/background apps all off and no body touching the device. It is extremely frustrating and makes the phone useless as of the everexisting fear of battery running out.
I've tried tens of different roms, Stock-based (Villain, Neat, Litening, WanamLite, Alliance and a few others I can't remember), AOKP-based (The only one I remember by name is ResurrectionRemix 2.6/2.6.1 and a few JB releases too) across different versions of android.
Tried them with the default kernel, with CF kernel, siyah, phenomenal, dorimanx.
Tried 10+ different modems including 3 extracted from my carrier's official roms (JJKF3, JJKI2 JJLP8).
All of them have the same exact issue.
Only time I remember not having this issue is with old GB roms. CheckROM V4/V6 did not have any battery problems, battery was perfect.
Also Litening rom V6.1 XXKH3, dates as back as aug 11'. Battery was badass there.
I've tried using the phone without restoring anything, tried freezing everything that I don't need, tried even freezing anything that is not necessary for the phone to run (eventually had a phone with no SMS/phone abilities, no play store, no syching, no properly working bluetooth/wifi connections) and still wakelocks occured.
When I first switched to ICS, I also had a 'MediaServer' wakelock, fixed by deleting 'corrupt' files from sd/external. The RILJ, radio-interface, l2_hsic and umts-ipc0 remained and I can't find a conclusive cause/solution.
Fast dormancy is not supported so I always turn it off via *#9900#, or that app for AOKP roms.
I remember a rom in which turning on/off airplane mode would help for a few hours. Then the wakelock returns. Haven't tried it recently, it doesn't quite solve the problem anyway so why bother with it.
I've noticed BBS showing "No or unknown signal" and "No data connection" at 100% time, which is weird.
Recently tried WanamLite/VK based on XXLSJ 4.1.2 leaked stock firmware, same problem.
Finally after some more research here in XDA I've tried to fix RIL/modem mismatch with GetRIL. I have flashed WanamLite 12.8, installed RIL via GetRIL so now it says "RIL/Baseband is matching". A quick look at BBS and battery history still shows RILJ, radio-interface, l2_hsic and umts-ipc0 wakelocks, so I wiped battery history and charged it to a full 100%, currently waiting for BBS to collect data to present here.
I can see that the problem is something about the radio/modem, but since I've tried many of them, I figured it's something that has to do with my device/carrier and not the modem itself. That's why I've tried Pelephone's modems, and recently Wanam's default modem (UHLPH) with matching RIL.
I wanted to try Pelephone's modem with matching RIL but GetRIL tries to install RIL for a different modem since it can't find one for pelephone's, and after a reboot it shows "unknown" baseband and no reception. This isn't important anyway because if it was a 'drainy' modem, it would have been much less drain and would have been better with other modems.
This is clearly something bigger and more persistant, something I'm missing as of my limited knowledge in android modems/system.
I would very much appreciate help with this in any way, ideas of what to try, info about related subjects, perhaps even a cause or a solution.
A friend of mine has the same phone with the same carrier with similar issues (yet a bit different), but the info I'm getting from him is limited and not conclusive. Based on it I can't say it's 100% environmental, nor can I say I'm the only one with the issue.
I'm ready to try anything - ROMs, kernels, modems, apps, tweaks etc.
I will be posting BBS screens and logs here once they'll be more accurate, for now I've attached a 10-min history and BBS screens.
Thank you for any help or assistance.
I have had the exact same issues as you Fast Dormancy, &RILJ on my AOKP Milestone 1 4.1JB. I used the toggle fast dormancy app to fix the first issue. For the RILJ i used the getRIL app, then disabled location services and auto sync for google. Fast dormancy is fixed now. I still get a lot of RILJ wakelocks but the numbers have gone down noticably. Battery performance have significantly improved though. These are the standard fixes i managed to find in the forums. Have you already tried these steps?
DaKiller147 said:
Hello
First of all, sorry of any bad or wrong english, it's not my native language.
I have a very annoying wakelocks problem with my I9100T.
My carrier is Pelephone (Israel), I bought the device about a year and a half ago.
A few months after I got it, I decided to root and to flash a different rom.
I've had many roms since them, mostly stock-based, but I've tried a few AOKPs too.
The problem is basically this:
No matter what rom or what kernel or what modem I install, battery is terrible. With the help of BBS I was able to learn that the cause of this is excessive wakelocks, mostly RILJ, radio-interface, l2_hsic and umts-ipc0. This causes an extreme battery drain, 25%-35% drain in a 7-hour sleep night with wifi/3g/bt/gps/background apps all off and no body touching the device. It is extremely frustrating and makes the phone useless as of the everexisting fear of battery running out.
I've tried tens of different roms, Stock-based (Villain, Neat, Litening, WanamLite, Alliance and a few others I can't remember), AOKP-based (The only one I remember by name is ResurrectionRemix 2.6/2.6.1 and a few JB releases too) across different versions of android.
Tried them with the default kernel, with CF kernel, siyah, phenomenal, dorimanx.
Tried 10+ different modems including 3 extracted from my carrier's official roms (JJKF3, JJKI2 JJLP8).
All of them have the same exact issue.
Only time I remember not having this issue is with old GB roms. CheckROM V4/V6 did not have any battery problems, battery was perfect.
Also Litening rom V6.1 XXKH3, dates as back as aug 11'. Battery was badass there.
I've tried using the phone without restoring anything, tried freezing everything that I don't need, tried even freezing anything that is not necessary for the phone to run (eventually had a phone with no SMS/phone abilities, no play store, no syching, no properly working bluetooth/wifi connections) and still wakelocks occured.
When I first switched to ICS, I also had a 'MediaServer' wakelock, fixed by deleting 'corrupt' files from sd/external. The RILJ, radio-interface, l2_hsic and umts-ipc0 remained and I can't find a conclusive cause/solution.
Fast dormancy is not supported so I always turn it off via *#9900#, or that app for AOKP roms.
I remember a rom in which turning on/off airplane mode would help for a few hours. Then the wakelock returns. Haven't tried it recently, it doesn't quite solve the problem anyway so why bother with it.
I've noticed BBS showing "No or unknown signal" and "No data connection" at 100% time, which is weird.
Recently tried WanamLite/VK based on XXLSJ 4.1.2 leaked stock firmware, same problem.
Finally after some more research here in XDA I've tried to fix RIL/modem mismatch with GetRIL. I have flashed WanamLite 12.8, installed RIL via GetRIL so now it says "RIL/Baseband is matching". A quick look at BBS and battery history still shows RILJ, radio-interface, l2_hsic and umts-ipc0 wakelocks, so I wiped battery history and charged it to a full 100%, currently waiting for BBS to collect data to present here.
I can see that the problem is something about the radio/modem, but since I've tried many of them, I figured it's something that has to do with my device/carrier and not the modem itself. That's why I've tried Pelephone's modems, and recently Wanam's default modem (UHLPH) with matching RIL.
I wanted to try Pelephone's modem with matching RIL but GetRIL tries to install RIL for a different modem since it can't find one for pelephone's, and after a reboot it shows "unknown" baseband and no reception. This isn't important anyway because if it was a 'drainy' modem, it would have been much less drain and would have been better with other modems.
This is clearly something bigger and more persistant, something I'm missing as of my limited knowledge in android modems/system.
I would very much appreciate help with this in any way, ideas of what to try, info about related subjects, perhaps even a cause or a solution.
A friend of mine has the same phone with the same carrier with similar issues (yet a bit different), but the info I'm getting from him is limited and not conclusive. Based on it I can't say it's 100% environmental, nor can I say I'm the only one with the issue.
I'm ready to try anything - ROMs, kernels, modems, apps, tweaks etc.
I will be posting BBS screens and logs here once they'll be more accurate, for now I've attached a 10-min history and BBS screens.
Thank you for any help or assistance.
Click to expand...
Click to collapse
kumaran.tm said:
I have had the exact same issues as you Fast Dormancy, &RILJ on my AOKP Milestone 1 4.1JB. I used the toggle fast dormancy app to fix the first issue. For the RILJ i used the getRIL app, then disabled location services and auto sync for google. Fast dormancy is fixed now. I still get a lot of RILJ wakelocks but the numbers have gone down noticably. Battery performance have significantly improved though. These are the standard fixes i managed to find in the forums. Have you already tried these steps?
Click to expand...
Click to collapse
Thx for the reply
Tried the fast dormancy app, used getRIL as I said, location services are off, sync is sometimes off sometimes on.
Here are the results.
*bump*
Any ideas? I went back to GB for now, battery in ICS/JB is just unbearable.
Instead of providing the screen shots which can only show details, you should attach the BBS log file. It contains much more information, probably even information you do not consider important for the analyzes of your problem
fxrb said:
Instead of providing the screen shots which can only show details, you should attach the BBS log file. It contains much more information, probably even information you do not consider important for the analyzes of your problem
Click to expand...
Click to collapse
Knock yourself out
DaKiller147 said:
Knock yourself out
Click to expand...
Click to collapse
You did quite a lot but did you ever check your APN settings? Some of the wakelocks in your BBS log could be due to bad/wrong APN settings, so check them very carefully, especially the proxy settings (if any).
Sometimes (in my case) it is even better to create a new, "empty" APN. The only values set in my "empty" APN are: Name, APN, MCC, MNC, Authentication type and APN type. All other settings are not set.
fxrb said:
You did quite a lot but did you ever check your APN settings? Some of the wakelocks in your BBS log could be due to bad/wrong APN settings, so check them very carefully, especially the proxy settings (if any).
Sometimes (in my case) it is even better to create a new, "empty" APN. The only values set in my "empty" APN are: Name, APN, MCC, MNC, Authentication type and APN type. All other settings are not set.
Click to expand...
Click to collapse
Forgot to mention it in the original post. I always check my APNs since all roms have the wrong internet APN of my provider (It's been updated for smartphones, for some reason most roms still set the old one by default). Usually it also adds some more APNs of a different provider that uses the same network and the same cell towers, so I have to delete them and modify the existing. Internet always worked just fine with the APN I set. I don't really use MMS so I guess that doesn't matter.
*bump*
CM9.1.0 stable version has a better battery and less l2_hsic wakelocks (wake count is about the same but count and expired count are both 0).
This is the only rom that has any difference in l2_hsic wakelocks except GB roms.

Average battery drain ?

Hi everyone ! I'm on Omega v35 (Samsung) Rom and 3.0.36-Perseus-alpha29 Kernel. And I have these connected accounts: Dropbox, Facebook, Google, Microsoft Exchange and WhatsApp.
When WiFi is on I loose about 2.2% per hour. (Google Now is disabled, GPS off, Data off, CPU almost all time in Deep Sleep)
When I turned off WiFi I've been loosing 0.8% per hour (other settings remained same).
So my question is, is this normal battery drain ?
In BBS I've noticed that my most active Wakelock is: AlarmManager (Android System) and Kernel WakeLock: Battery-monitor
I've also attached BBS Dump file.
Thanks for your answers
2.2% is not that bad yet. Wifi uses lots of power, especially on some routers that (it seems) do not allow throttling of transmission speed during sleep or that are far away.
Especially considering that you have 2 out of the "bad 3" installed (which are: Facebook, Skype, Whatsapp) when it comes to battery drain it's not very surprising that the AlarmManager (responsible for waking up your phone when there's stuff to do) has a high count.
Battery-monitor is the stats itself. As long as it runs it obviously needs to periodically collect data.
I guess it won't be possible to root the phone and give another BBS stats? Those are far better and if using Siyah more detailed.
Also, please include a screenshot of Android's own battery graph (in full-screen,not the one with the apps beneath) since that shows the wakelock distribution
Thanks for your answer, the phone is rooted, but I forgot to enable rooted options in BBS. So I'll leave it for the night and then post BBS stats and screenshot.
Maybe this question is little off topic but you've mentioned Siyah, I've flashed Siyah but when I entered Recovery there still was CWM recovery (which was odd because I had Galaxy S2 and after flashing Siyah I had Siyah recovery) so I've wiped everything flashed again but nothing changed, I've checked in System info under kernel and it showed that Siyah was installed and I could run STweaks normally.
Is this normal ?
Sent from my GT-I9300 using xda app-developers app
Ehm ehm!
Sent from my GT-I9300 using xda premium
Wow that is great ! Which Kernel/Rom are you using?
Sent from my GT-I9300 using xda app-developers app
Maybe try other modems?
I'm running Omega v35 and Perseus 27a and I've noticed worse signal/higher drain compared to v34. I flashed BUELK1 modem (AFAIK it's the one from XXELKC, Omega v34) and I'm loosing about 0,5% per hour again (wifi, data etc).
Although I'm not using any auto sync, my GPU/CPU is UV'd and I have some apps frozen in Titanium
perseus 29.2
Crunozaur said:
Maybe try other modems?
I'm running Omega v35 and Perseus 27a and I've noticed worse signal/higher drain compared to v34. I flashed BUELK1 modem (AFAIK it's the one from XXELKC, Omega v34) and I'm loosing about 0,5% per hour again (wifi, data etc).
Although I'm not using any auto sync, my GPU/CPU is UV'd and I have some apps frozen in Titanium
Click to expand...
Click to collapse
Does anyone have tried perseus 29.2 with omega v35. I wonder how battery performs with them.
So I've left it overnight again (same settings as in OP).
hyperN said:
So I've left it overnight again (same settings as in OP).
Click to expand...
Click to collapse
First thing I noticed that your wifi is on all the time.
Let it turn off once your screen is off.
Settings > Wifi > Advanced and select wifi on while sleep, never.
If I do that will WiFi be reconected from time to time to receive notifications from gmail, whatsapp etc. ?
Sent from my GT-I9300 using xda app-developers app
Use DS Battery. It turns off wifi when screen is off but will let it connect every designated period to let your phone sync. I get about 20% drain overnight over 8hours. I UVed all my clocks so I'd say yours is pretty good.
hyperN said:
If I do that will WiFi be reconected from time to time to receive notifications from gmail, whatsapp etc. ?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No, it turn off your wifi if your screen is off for some time. I am not quite sure, what's the default value is.
After wifi is off, device use mobile data to receive notifications. Also, you should disable auto sync because that's also major battery drainer.
I get 5-6% battery overnnight.

[Q] gpsd drain even while GPS off?

Hi!
I have been having an issue with my S III lately. For some time I have been trying to understand and configure my gps settings so that I could have gps always activated, without it draining the battery too heavily. I mainly tried manipulating my apps' location settings.
With no consistent results, I ultimately decided to try and turn gps off altogether in the pull down bar. Now, here's the issue; even with gps off, both the stock battery tool and GSam Battery Monitor report a 25% battery drain by "gpsd".
What am I doing wrong, and what can be done about it?
Thanks!
Stock S III, 4.1.2, unrooted.
Didn't wipe data when you upgraded?
Wipe the data of the service responsible.
Sent from my GT-I9300 using xda app-developers app
Thanks! If you are referring to the Android update, I simply installed it without wiping anything.
What exactly would wiping data entail?
Might be Google now working overtime
Questions go in the QA section, not general
slaphead20 said:
Might be Google now working overtime
Click to expand...
Click to collapse
I am pretty sure I disabled everything connected with Google and location...
Sorry for posting in the wrong place, will do next time!
it seems there is a bug in gpsd. sometime it hangs at 100% cpu (25% -> 1 of 4 cores) you can check this in shell with "top" cmd
if it hangs only a reboot help.
you will notice a bit lag when you switch your phone on and it gets a bit warm when this happens
for me it happens once every 1-4 days and i have allready disabled all google location settings and samsung security settings
any idea ? i dont find anything else on google.
btw. it looks like this started happen with XELLA but cant say it for sure
/inteks
That sounds exactly like the issue I have been having, especially it happening only one in every few days.
I can confirm that it seems to have had a definitive starting point, but not sure what changes I made at that point. What do you mean by XELLA? And are any other ways of telling when this happens?

[MOD][XPOSED][KK] Wi-Fi Deep Sleep

Only for Android KitKat.
Once installed this mod prevents Wi-Fi from waking up during device sleep mode and when you turn on the screen without unlocking it (to look at the clock, for example).
Background
Normally Wi-Fi can be awakened and kept on due to Wifi locks held by certain applications that often use to abuse this opportunity. This results in Wi-Fi being turned on over up to the half of the total sleep time (or even more) which in turn of course eats the battery. Another issue is that once turned on by a single application it notifies and awakes lots of other apps that may start, for example, their heavy synchronization tasks, etc., making everything even worse.
Auto Wi-Fi apps
Nevertheless, Wifi lock is a good mechanism when used carefully, and generally it should be respected when deciding whether to switch Wi-Fi on and off. This becomes a problem for most of Wi-Fi management apps found in Play Market: they can switch Wi-Fi off in the middle of a Skype call just because the screen was turned off.
The solution
This mod alters a system state machine responsible for managing Wi-Fi so that once put to sleep it can not be woken up by any application that requests a lock. Wi-Fi is only put asleep when no application holds a lock. That is it doesn't cancel locks held already, but once all of them are gone, no one else is able to aquire a new lock until the screen is turned on and unlocked. This doesn't apply to special high performance Wifi lock, it still can be aquired as usual even in asleep mode (anyway, it seems that applications does not use to use this lock too often, so the battery should not became an issue).
Installation
Download and install Xposed framework
Then install Wi-Fi Deep Sleep module and activate it
Reboot
Usage
To make the mod to take an effect proceed to Settings -> Wi-Fi -> Advanced and make sure that:
Keep Wi-Fi on during sleep is either Only when plugged in or Never (increases data usage)
Scanning always available is turned off
The module provides no user interface, nor it runs any services in a background: only modifies a corresponding part of Android. You won't be able to notice it in the main menu or in a task manager. Think of it as a patch that can be turned on and off through Xposed installer.
Source
The mod is open source (with permissive MIT licence), the source code is available on my GitHub.
XDA:DevDB Information
Wi-Fi Deep Sleep, Xposed for all devices (see above for details)
Contributors
abusalimov
Xposed Package Name: ru.abusalimov.xposed.wifideepsleep
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-05-16
Last Updated 2014-05-15
Interesting. I assume this would mean no push notifications, etc.
Kocayine said:
Interesting. I assume this would mean no push notifications, etc.
Click to expand...
Click to collapse
Yes, unless there is a mobile network available. That is the mod would be more useful for a phone rather than for a tablet.
abusalimov said:
Yes, unless there is a mobile network available. That is the mod would be more useful for a phone rather than for a tablet.
Click to expand...
Click to collapse
If mobile data is enabled while wifi is connected and running, then screen turns off and wifi goes to deepsleep, does it then use mobile data? I'm having issues sometimes where a "suspend_backoff" wakelock can keep my phone awake indefinitely and it's wifi related. Perhapsthis module could help.
Ah it took me until now to notice it's KK. No chance of a jb version?
Kocayine said:
If mobile data is enabled while wifi is connected and running, then screen turns off and wifi goes to deepsleep, does it then use mobile data? I'm having issues sometimes where a "suspend_backoff" wakelock can keep my phone awake indefinitely and it's wifi related. Perhapsthis module could help.
Click to expand...
Click to collapse
Yes, once Wi-Fi goes asleep, it instantly connects to use mobile data. This behavior is similar to default one, the only difference is that once it goes to sleep it will not wake up and try reconnect to Wi-Fi constantly, instead it will continue to use mobile data until you turn on and unlock the screen again.
Regarding a weird wakelock, the simplest answer is to try by yourself. Personally I got rid of "wlan_rx_wake" locks (drastically though not completely). I guess this depends on a device.
Kocayine said:
Ah it took me until now to notice it's KK. No chance of a jb version?
Click to expand...
Click to collapse
Not in a near future, I'm afraid. In KK they had rewritten the whole Wi-Fi management code from scratch, so for JB it would be a completely different module. Sorry for that.
Great module
I was looking for something like this great idea.
Thanks a lot.
Sent from my HTC One using Tapatalk
But if i was downloading a file?
Probably a really stupid, obvious question but.....
If I turn wifi off manually, as I normally do leaving the house...etc... I assume this module will be of no use to me? Would only work if wifi was on, but not being accesed or used by me? Having wifi off means its off, right?
david6910 said:
But if i was downloading a file?
Click to expand...
Click to collapse
This depends on a downloading application. Personally I was only concerned about Skype, which takes necessary locks and prevents this mod to turn off Wi-Fi during a call (unlike most of other apps that turn Wi-Fi off unconditionally).
Again, the mod itself doesn't make a big change to a default behavior. If you switch "Keep Wi-Fi on during sleep" to "Only when plugged in" or "Never" then downloading a file will or will not be interrupted regardless whether you have this mod installed or not. Try the default behavior without the mod to see if downloading will go on after the screen is switched off (plus about 15 minutes timeout). If everything's OK, then installing the mod shouldn't make if worse (it will however prevent an app from using Wi-Fi to download a new file by itself during the night after Wi-Fi goes asleep).
robneymcplum said:
Probably a really stupid, obvious question but.....
If I turn wifi off manually, as I normally do leaving the house...etc... I assume this module will be of no use to me? Would only work if wifi was on, but not being accesed or used by me? Having wifi off means its off, right?
Click to expand...
Click to collapse
Yes, you're right. The mod only affects a code which come into play when Wi-Fi is switched on manually (see also "Usage" for necessary settings).
verynuclear said:
Great module
I was looking for something like this great idea.
Thanks a lot.
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Thanks for the feedback.
Will this mod work with touchwiz kit Kat?
Sent from my SGH-I747 using XDA Premium 4 mobile app
Shels said:
Will this mod work with touchwiz kit Kat?
Sent from my SGH-I747 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No idea. Most likely it will. Why don't you try and tell everyone about results?
So I've had the wlan Rx wake lock for some time now and am really blooming forward to this fixing it. However once I enabled this module my drain got worse and I made the WiFi setting changes..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 5 using Tapatalk
Creed0 said:
So I've had the wlan Rx wake lock for some time now and am really blooming forward to this fixing it. However once I enabled this module my drain got worse and I made the WiFi setting changes..
Click to expand...
Click to collapse
Thank you for reporting, I'll try to investigate this. This is weird though, I didn't experience anything like this on my Nexus 5. Does this battery drain remain even after rebooting?
Well I rebooted after enabling the module. And I'm not sure if these would interfere but I'm running the Franco kernel and had the pia VPN app running during the log above. The only reason the battery lasted for 16 hours or so is because I have WiFi-o-matic auto switching off WiFi overnight.
Sent from my Nexus 5 using Tapatalk
Creed0 said:
Well I rebooted after enabling the module. And I'm not sure if these would interfere but I'm running the Franco kernel and had the pia VPN app running during the log above. The only reason the battery lasted for 16 hours or so is because I have WiFi-o-matic auto switching off WiFi overnight.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Ah, wait, it seems that I've found a suspicious piece of code that I might miss to handle properly. But it is only responsible for updating battery stats, not for real battery consumption. I'll fix it soon.
BTW I use franco kernel too, but this can't be related to the issue. Thanks for the info though.
P.S. I'm not sure how it will work with WiFi-o-matic, the mod is designed to work with stock Wi-Fi management (no apps).
Sounds good, I'll be looking forward to it!
Sent from my Nexus 5 using Tapatalk
Please update to v1.1:
Fix battery stats weirdness (random apps keeping device awake near to 100% of idle time). Thanks to @Creed0 for reporting.

Categories

Resources