Need expert help about RILJ and other wakelocks - Galaxy S II Q&A, Help & Troubleshooting

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.

Related

SII official ICS battery problems. wifi?

my better battery app shows wifi running all the time. My battery is getting nuked. When I look at the android menu it says it is the screen sucking up the battery, even though the screen was only on for a short time. Anyone else having issues?
I wasn't having any issues with the 2.3.6 until right there at the end and then it started having the wifi draining issues. I was hoping the wifi issue would have been fixed in the ICS release. I tried doing a factory reset, which didn't help. I uninstalled the att hot spot finder app, didn't help. Is there a way to clear the wifi configs or reset the wifi?
I also notice it will disconnect from the wifi and can't see wifi networks even when hitting the scan button. I have to turn the wifi off and back on to get it to work.
Seems like the same issue
http://forum.xda-developers.com/showthread.php?p=24189461&highlight=wifi#post24189461
I guess there isn't a fix yet. That sucks.
Have that too. Temporary workaround: Settings -> Wifi -> Menu button -> Advanced -> Keep Wi-Fi on during sleep -> Never.
With that I have great battery life (got 28 hours once).
EDIT: My post is related to ported I9100 ROMs, never used i777 leak.
There is no official ICS - just a leak.
Entropy512 said:
There is no official ICS - just a leak.
Click to expand...
Click to collapse
what he said ^^^
Pretty sure this is the same way it's always been that I remember, unless you goto advanced settings it will stay on with the screen off, it shouldn't really kill your battery though. I see minimal impact with my wifi on, I've even read it's better on battery due to less awake time on data polls. The exception to this is if you have an app that goes data crazy when it's on wifi, and keeps the phone awake. Then there was also the issue with the uckk6 firmware, but I don't think that issue is still going on with the ICS ROMs I've tried.
Edit: Was just reading and I guess ATT leak might still suffer from the goofy KK6 bug.
Will the UCPLC5 modem fix it? How do I install the newer modem leak with out making the counter go up?
Also, changing basebands will do NOTHING for wifi-related drain.
Baseband is for voice and cell data - it does NOTHING wifi-related whatsoever.
Entropy512 said:
Also, changing basebands will do NOTHING for wifi-related drain.
Baseband is for voice and cell data - it does NOTHING wifi-related whatsoever.
Click to expand...
Click to collapse
damn, that sucks. Hopefully the OTA will come out with a wifi fix and soon.

[Q] How to debug a MTK6573

Hello,
I'm experiencing a battery drain in a Dapeng A7. Sometimes the battery charge decreases even though it's plugged to the charger.
I can see that when it happens the wifi don't switch off, even though I have set it in the settings, and it fact some times it does.
I have get some logcat but the only thing I noticed was just several ACTION_BATTERY_CHANGED, but without timestamp.
I would need some extra information, combining top, with logcat, and some more command you will suggest for sure.
I have rooted the phone, so any command will be available.
Any suggestion? Meanwhile I'm testing some battery savers.
Thank you
Some more information would be useful are you using a custom recovery like Clockworkmod or stock recovery are you using the stock ROM or something like Cyanogenmod it could be hardware causing the issue like dying/dead charger or dying/dead battery or it could be software with Clockworkmod you can clear battery stats have you tried turning off everything from Wi-Fi (Already mentioned), 3G Mobile Data, Bluetooth, Network Location, GPS etc to see if it had any affect on the battery maybe you could try searching an App to do these things if Android is bugged as a temporary solution.
Realmprotector said:
Some more information would be useful are you using a custom recovery like Clockworkmod or stock recovery are you using the stock ROM or something like Cyanogenmod it could be hardware causing the issue like dying/dead charger or dying/dead battery or it could be software with Clockworkmod you can clear battery stats have you tried turning off everything from Wi-Fi (Already mentioned), 3G Mobile Data, Bluetooth, Network Location, GPS etc to see if it had any affect on the battery maybe you could try searching an App to do these things if Android is bugged as a temporary solution.
Click to expand...
Click to collapse
Thank you for the answer.
I have just rooted the device with its stock ROM, but I havent found any reference about installing Cyanogenmod or Clockworkmod.
Anyway, I have experienced this leakage after a factory reset, disabling wifi and 3G, ... I have tried to locate which app can be battery consuming, but without success. Well, one of them, I don't remember, always says that it was Google Calendar sync. Can be gapps?
Moreover, now I have been reading a French forum and I'm not alone
http://ciphone.fr/blog/blog1.php/dapeng-a7-5-en-test
However no one has a clear answer. Perhaps is the charger problem, but I have tested with diferent cables and chargers.
And the worst thing that sometime charging works fine.
Do you happen to know if there is any command like logcat but with a timestamp in each line?
Thank you

[Q] Battery Problems

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

[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?

[Q] Wifi high cpu problem

Firstly an introduction to my problem - I've been having problems with high cpu usage whenever I enable my wifi. I've gone to stock [I9100DXLSD_I9100OLBLSD_XME.zip], tried different kernels [Apolo, siyah, speedmod, dorimanx], tried different roms [slimkat, neatmod, jellysnap], done factory resets for each, flashed quite a few modems [dx's,xx's, currently trying radio-cm-9-SGS2-LP6-signed.zip, there's a whole bunch that I'm still going through as well - can't post urls yet]. I had no luck with all of these methods so far.
Since that approach didn't work I have also been looking at wakelock detector,gsam and betterbatterystats to find out what was chewing up cpu and causing battery drain. I initially thought it was something caused by google play services (SystemUpdateService), wlan_rx_wake, or a pc/router on network with a configuration conflict or something like ipv6 causing bizarre behaviour but so far I have been able to get rid of wlan_rx_wake problems but those were minor on the battery drain problems I was having. Using a static ip also did not improve anything. Wakelock detector/gsam/betterbatterystats were now all showing either android os or android kernel as the culprit but would not show exactly what process was causing it. Once I enabled 'show cpu usage' in developer options I was able to see that dhd_dpc process was causing all this havoc. There does not seem to be much information on the net about this process and problem. When I switch wifi on, I'll be able to use the net fine for a few seconds to a minute before dhd_dpc decides to kick in and using a high amount of cpu causing insane drains and I have to quickly switch wifi off before it locks up requiring a reboot.
What I have found out through all of this by accident is that if I enable wifi and then quickly copy a file from my phone to a pc on the network, I am able to use internet on my phone without any lockups and the speed (cpu) is fine and fluid as usual but only while the file is still copying over the network. During this time dhd_dpc seems to consume cpu like it normally should as I've seen on the other devices I have. Why is this? This has to be a software issue since it works flawless when I do this? Not sure why it would require some sort of lan traffic in order to get wan traffic working without sending the cpu usage to orbit. The battery of course drains but not as bad since it's busy copying files over. Maybe possible that it doesn't like the routers on my network that might be sending arps and copying files over the network makes it ignore that traffic (just shooting in the dark here)?
I hope someone can shed light on this and perhaps give me some other things I can try. Btw, cell radio/mobile data are all fine, except for one or two of the modems that I tried. So is this kernel, rom or modem related? Please help! This is the only thing not working properly on this phone. Thanks for all those that took the time to read and answer.
Currently on my phone:
Rom: I9100XWMS3_NeatROM_v6.4
Kernel: Apolo-4.15b_Regular
Modem: LP6 (this is just what I am currently testing out of the dozens of modems I have)
PS- yes I use kernel wipe and rom wipe scripts. Maybe the problem is somewhere in dhd.ko?
Anyone mind uploading their dhd.ko that doesn't have this dreaded dhd_dpc cpu pegging purge business just so I can rule it out?

Categories

Resources