I have found a common problem in many ics and Jb roms. there are wake locks from alarm manager. I checked in bbs and it shows its due to -com.android.internal.telephony.gprs-data-stall
so I searched over google and got this https://android-review.googlesource.com/#/c/40690/
so can any1 help me on how to reduce these wake locks?
Don't use apn. The wakelocks are usually cause by constant enabling and disabling apn.
Sent from my LG-P500 using xda premium
allenwalker1998 said:
Don't use apn. The wakelocks are usually cause by constant enabling and disabling apn.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
So I can't use internet on my phone ?
I get those even if I reboot the phone and just let it sleep, hell, I get them even after a fresh install, only on certain roms tho.
Souron29 said:
So I can't use internet on my phone ?
Click to expand...
Click to collapse
U can actually. I nvr used apn and still able to go on internet
Sent from my LG-P500 using xda premium
Can you tell us how?
Btw I never get such wake locks even if I toggle data on or off many times. The problem for wake locks on my phone was with com.Android.gsf, (Google services framework).
It used to cause too many wake ups.
Related
i'm having weird issues with wifi on my infuse...
with all the other roms i've tried so far the wifi signal has stayed pretty solid, but with the compiled CM7 rom wifi stops working if the phone sits idle for any random amount of time. sometimes it works after the phone sits for 30 minutes +, sometimes it dies if i just lock and unlock the screen..
any tips? what information can i provide to help?
bumping up
having the same issues, anyone got some info?
Go to wireless settings, then wifi settings, hit menu, advanced, then change sleep policy to never. For some reason cm7 doesn't default to this. Should help
Sent from my GT-I9000 using xda premium
Bump
I tired the sleep policy set to never but it still drops off at random.. Anyone else know of another solution?
Sent from my SGH-I997 using xda premium
My problems are somewhat similar on the newest CM7. Mine is stuck on "obtaining IP address, then my WIFI says "disconnected" then it reconnects and still says "obtaining IP address". Please help anyone...!
Just to add too, I have reflashed the rom 2 times same problem each time.
Sent from my SGH-I997 using xda premium
This does seem to help a lot! Thanks!
I think others might be having a different issue.
For me, this fixes everything!
jiggaman508 said:
Go to wireless settings, then wifi settings, hit menu, advanced, then change sleep policy to never. For some reason cm7 doesn't default to this. Should help
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I'm on CM7 official. I'm having problem that if I turn off the screen when running some apps like alkido reader, after 10 min I cannot turn the phone on any more. No response whatever. Usually a battery pull will be ok, but I don't want pull my battery all day. If I exit to the home screen its ok.
Anybody knows what's the problem? How can I solve it? Thanks for any help.
Sent from my Nexus S 4G using XDA App
First it's called the Sleep Of Death or SOD.
Also, did you change any system settings? (Overclocked, messed with voltage settings, etc.)
No, it's stock CM 7.1. I also tried reflash it without wiping the data. It doesn't help.
AeroEchelon said:
First it's called the Sleep Of Death or SOD.
Also, did you change any system settings? (Overclocked, messed with voltage settings, etc.)
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App
Just wondering if anyone else is experiencing the wifi not staying connected while within a wifi network anytime the phone goes to sleep, or shows both wifi & data connection active at the same time? It seems to disconnect the wifi when phone goes to sleep and when I wake the phone, it goes through the connection process and stays at obtaining the IP address for +/-15mins. Is this an isolated issue or is it a common thing with all non official GB custom ROM 's? Just to note, I changed the wifi scan interval from 15 sec - 120 sec after I flashed the ROM. Been on the ROM now for about a week and a half and so far this is the only thing I noticed as strange. Overall this ROM rawks!!!
sent from my CommandCenter using xda premium
Not sure about your specific rom.. But Juice defender will allow you to set wifi persistent, etc..
*Kingpin... get it?*
mrrick said:
Not sure about your specific rom.. But Juice defender will allow you to set wifi persistent, etc..
*Kingpin... get it?*
Click to expand...
Click to collapse
So when set to persistent, how much battery will it be consuming with that setting?
sent from my CommandCenter using xda premium
xolanir said:
So when set to persistent, how much battery will it be consuming with that setting?
sent from my CommandCenter using xda premium
Click to expand...
Click to collapse
Not sure specifically.. But you can set it by location.. Like, if your on your home network, or at the office. I usually don't pay attention to the power it uses because I use the setting for home and im always by a charger..
*Kingpin... get it?*
mrrick said:
Not sure specifically.. But you can set it by location.. Like, if your on your home network, or at the office. I usually don't pay attention to the power it uses because I use the setting for home and im always by a charger..
*Kingpin... get it?*
Click to expand...
Click to collapse
Alright thx. Will try it out and see if it will help.
sent from my CommandCenter using xda premium
During the night my HTC one s s3 goes into some kind of sleep mode, which turns off my internet or WiFi connection, preventing me to receive messages via Skype, gTalk... or emails. Is there any way to avoid going in this mode, some kind of "always on", I don't know... I couldn't find a setting for this, searched everywhere... Thanks in advance
Sent from my HTC One S using xda app-developers app
If you go into advanced settings under Wi-Fi, you can tell Wi-Fi to never sleep. That should solve your issue?
Also, are you on stock?
Sent from my HTC VLE_U using xda app-developers app
npiper05 said:
If you go into advanced settings under Wi-Fi, you can tell Wi-Fi to never sleep. That should solve your issue?
Also, are you on stock?
Sent from my HTC VLE_U using xda app-developers app
Click to expand...
Click to collapse
Not the same thing. If I remember right this turns all data off and also does other things as well and the only fix I can think of is the tweak app that some roms have.
Stock 4.0.4 Europe. WiFi is set to never sleep (keep WiFi on during sleep >> ALWAYS) and it sleeps all right during the night. Any setting for 3G? I have an unlimited data plan, so it would be ok to keep it always on.
Edit: best WiFi performance is set off. Would this make any difference?
Sent from my HTC One S using xda app-developers app
saculetz said:
Stock 4.0.4 Europe. WiFi is set to never sleep (keep WiFi on during sleep >> ALWAYS) and it sleeps all right during the night. Any setting for 3G? I have an unlimited data plan, so it would be ok to keep it always on.
Edit: best WiFi performance is set off. Would this make any difference?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Don't think it will since its a power saver feature that you having issues with but like I said it can be turned off with custom rom.
Hi All,
Ive been having an issue with my P905. Android system is keeping awake all the time. Anyone else experiencing this? Any fix?
I've tried factory reset. It worked fine for a few days but its not sleeping anymore. I have two profiles set up, not sure if this could be an issue? I dont want to root due to warranty issues. Ive tried installing BetterBatteryStats but without root the guys cannot help.
I've tried reinstalling the official software without wiping but this did not help. All the apps I have installed on the tablet I have installed on my Note 3 as well, other that bloat.
Not sure what to do now. Please help.
Thanks
Sent from my SM-P905 using XDA Premium 4 mobile app
zaheedsk said:
Hi All,
Ive been having an issue with my P905. Android system is keeping awake all the time. Anyone else experiencing this? Any fix?
I've tried factory reset. It worked fine for a few days but its not sleeping anymore. I have two profiles set up, not sure if this could be an issue? I dont want to root due to warranty issues. Ive tried installing BetterBatteryStats but without root the guys cannot help.
I've tried reinstalling the official software without wiping but this did not help. All the apps I have installed on the tablet I have installed on my Note 3 as well, other that bloat.
Not sure what to do now. Please help.
Thanks
Sent from my SM-P905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I had a similar problem, and digging around, found that the NY Times app was using up a huge amount of the battery, even though it was set to only update every 4 hours. I removed it from the Magazine UI page, and while I couldn't uninstall it, I did restore the app to the factory image and deleted its data/cache. That fixed it for me.
ericbergan said:
I had a similar problem, and digging around, found that the NY Times app was using up a huge amount of the battery, even though it was set to only update every 4 hours. I removed it from the Magazine UI page, and while I couldn't uninstall it, I did restore the app to the factory image and deleted its data/cache. That fixed it for me.
Click to expand...
Click to collapse
Thanks. Ill try the same. I hope it works. Will let you know.
Sent from my SM-P905 using XDA Premium 4 mobile app
Update: I clear cache, data and uninstalled updates for NY Times. I disabled the app as well. Fully charged and restated the tab. Still no luck. Android system still kept awake all the time until now. Any other suggestions please?
Sent from my SM-P905 using XDA Premium 4 mobile app
zaheedsk said:
Update: I clear cache, data and uninstalled updates for NY Times. I disabled the app as well. Fully charged and restated the tab. Still no luck. Android system still kept awake all the time until now. Any other suggestions please?
Sent from my SM-P905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This is so hard without being able to root the device.
Backing up, when you say it is kept awake, do you mean that it won't go into Deep Sleep, or the screen is actually staying on?
Assuming it's not a screen timeout issue, the places I looked were in the settings battery section - it shows what procs are using up the battery. I also checked settings for applications under running, looking at who was accumulating CPU, and also the System Panel app, which gives a different view into processes running.
What I would recommend is to charge the tablet up, then right before turning in, restart it (which will reset all the usage counters) and leave it that way overnight. Check first thing in the morning for what has been happening during the time it should have been in Deep Sleep.
ericbergan said:
This is so hard without being able to root the device.
Backing up, when you say it is kept awake, do you mean that it won't go into Deep Sleep, or the screen is actually staying on?
Assuming it's not a screen timeout issue, the places I looked were in the settings battery section - it shows what procs are using up the battery. I also checked settings for applications under running, looking at who was accumulating CPU, and also the System Panel app, which gives a different view into processes running.
What I would recommend is to charge the tablet up, then right before turning in, restart it (which will reset all the usage counters) and leave it that way overnight. Check first thing in the morning for what has been happening during the time it should have been in Deep Sleep.
Click to expand...
Click to collapse
Thanks a lot for your help, appreciated. The issue is deep sleep. Last night I charged and just before 100% I switched off and on again. Before restarting I disabled the NY Times app. Ive attached screen shots of the battery now. Hopefully you can see something that I've missed.
Sent from my SM-P905 using XDA Premium 4 mobile app
zaheedsk said:
Thanks a lot for your help, appreciated. The issue is deep sleep. Last night I charged and just before 100% I switched off and on again. Before restarting I disabled the NY Times app. Ive attached screen shots of the battery now. Hopefully you can see something that I've missed.
Sent from my SM-P905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm not seeing any smoking guns there. If you're not seeing anything suspicious under Running in Apps Management or one of the other performance monitoring apps, you may have to just start uninstalling things and see if you can isolate it that way.
What does the battery chart look like, tap on that green/gray graph and take a screen shot. This reminds me of my LTE Galaxy Tab 10.1. LTE would consume battery like crazy sometimes, particularly when signal strength was marginal.
Sent from my SM-P900 using Tapatalk
muzzy996 said:
What does the battery chart look like, tap on that green/gray graph and take a screen shot. This reminds me of my LTE Galaxy Tab 10.1. LTE would consume battery like crazy sometimes, particularly when signal strength was marginal.
Sent from my SM-P900 using Tapatalk
Click to expand...
Click to collapse
This is the current screen shot. Ive done a few tests and it seems Android system keeps awake even in flight mode. The entire weekend the tab has been at home and connected to wifi most of the time.
Thanks
Sent from my SM-P905 using XDA Premium 4 mobile app
try the greenify app?
last i remember the developer released a non root version but im not sure if your device is supported.
search playstore for "Greenify" and get the non root version
it hibernates most apps until you run them manually.. you could use this to possibly pin point the app that may be preventing sleep? hibernate all the apps you can and then remove on app from hibernation list and see which app is the culprit... each time removing it from hibernate and then putting it back or rather replacing it with another one so you can accurately see the effect of each app on sleep?
ali_jiwa said:
try the greenify app?
last i remember the developer released a non root version but im not sure if your device is supported.
search playstore for "Greenify" and get the non root version
it hibernates most apps until you run them manually.. you could use this to possibly pin point the app that may be preventing sleep? hibernate all the apps you can and then remove on app from hibernation list and see which app is the culprit... each time removing it from hibernate and then putting it back or rather replacing it with another one so you can accurately see the effect of each app on sleep?
Click to expand...
Click to collapse
Thanks I'll try that. Will post results.
Sent from my SM-P905 using XDA Premium 4 mobile app
zaheedsk said:
Thanks I'll try that. Will post results.
Sent from my SM-P905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
no probs man
let us know how it goes!!:good:
Update
I tried to greenify everything that I could. This did not help. I found that WakeLock Detector works on non-rooted devices via a PC version. I tried this and yesterday I think I found the cause. Seems com.sec.android.app.bluetoothtest is keeping awake for over a day. I dont have bluetooth switched on. I thried switching it on a left it on for a few hours but that did not help. Any ideas how to fix this?
Thanks
Sent from my SM-P905 using XDA Premium 4 mobile app
zaheedsk said:
Update
I tried to greenify everything that I could. This did not help. I found that WakeLock Detector works on non-rooted devices via a PC version. I tried this and yesterday I think I found the cause. Seems com.sec.android.app.bluetoothtest is keeping awake for over a day. I dont have bluetooth switched on. I thried switching it on a left it on for a few hours but that did not help. Any ideas how to fix this?
Thanks
Sent from my SM-P905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't see this running on my P905. Quick web search mainly brings up links listing in in bloatware lists for various models.