Hi there,
i just wanted to start a thread , if there some people, facing the same problem as me.
I installed JellyTime version 27 (on older versions it happens too). When i use skype or the fritzApp!, everything works perfectly as long as the display dont turn off. When i put the phone to my ear during a skype call for example, the display turn off correctly but the call stutters, become unstable and sometimes completly breaks down. The same on the fritzApp. When i am listening to tuneIn and the display goes off, there are sometimes phases, where tunein has to cache again ... and after 1-2 min again ... etc. 2 Hours of perfect tunein stream while display stays on over wifi or 3g (tested).
What is happening there ? Does the display off function slows down the wifi and 3g so extremly ?
I did :
full wiped and clean installed jellytime (it happens on unofficial cm10 too)
played with governors, i/o setting, cpu freq
installed 5 different radios
Nothing helped.
On cm7.2 works everything like a charm.
The only thing that comes to my mind is for the wifi part and I mean the "Keep Wi-Fi on during sleep" option in "Advanced Wi-Fi" settings. But I guess this option is set to "Always" by default.
As for the governor (which would be my second guess if we weren't talking about quite well equipped DHD), the widely accepted one is smartassv2. But that's most likely not the issue.
I use JellyTime myself and I think my wifi connection is much faster with display on, too. It doesn't completely cut off with display off, though.
Sorry if I couldn't be of any help.
Other suggestions, anyone?
Thank you for the answer. I tried all governors but always the same issue.
Is there a possibility to deactivate proximity sensor for a workaround?
jmg81 said:
Thank you for the answer. I tried all governors but always the same issue.
Is there a possibility to deactivate proximity sensor for a workaround?
Click to expand...
Click to collapse
To disbale it the only solution that i know of is to install DHD_Proximity_Recalibrator-1.10.apk and set the values to highest, that should "Disable" it.
I tried some more on this issue and this happens now only during WiFi connection. I tested on 3 different wifi networks. On 3g connection it seems not to stutter anymore.
The only thing to use it properly is to let the display on during voip calls or switch to 3g network ...
In the issue tracker of the jellytime rom there is a reported wifi problem. Hope this is the problem and they fix asap.
Could somemore people test a skype call on a wifi connection?
Related
Hi everyone!
I'm using OpenDesire 4.0.4, and while it's more or less the perfect ROM for me, I'm getting a little annoyed at the WiFi. As the ROM is based on CyanogenMod, it has the same WiFi behaviour: When the screen turns off, the WiFi enters power saving mode, regardless of the apps that are active at the time, or the amount of traffic over WiFi at the time.
The problem here is that any application that's using WiFi pretty much just stops as soon as you turn the screen off.
1. Sipdroid during a call: Massive packet loss as soon as the screen turns off. You may hear a garble or two, but nothing intelligible.
2. SwiFTP and other FTP servers: Connecting to the FTP server and navigating to folders takes ages when the phone is in standby. Transferring files is more or less impossible (times out)... Everything's fine when the screen's on. If you transfer a big file and turn off the screen during the transfer, you basically pause the transer - turn the screen back on and the transfer goes back to full speed
3. Market: If you turn off the screen while a lot of apps are going to download, like after pressing "Update all" for a few apps, more often than not they'll just fail in the background.
Now, I could beg and ask the ROM developers (Kali for CyanogenMod on Desire, or AdamG for OpenDesire) to just change this behaviour, but it seems that most people are happy with the situation, as it causes the WiFi to use very little battery on standby... so I'm asking if anyone knows how I could change this myself. Is it even possible to do this at runtime without baking it into the ROM directly?
Or am I SOL until (or rather unless) AdamG or Kali takes pity on me?
I'd love to hear some input - hell, maybe I'm just doing it wrong ... Thanks in advance!
PS: Yes, my WiFi Sleep Policy is set to Never, and the Desire DOES stay connected when the screen is off. Just in a very low power mode...
-edit- Should have searched, sorry: http://forum.xda-developers.com/showthread.php?t=752856
-edit2- Looks like there really isn't a fix for this... Anyone found a way to completely disable PSP on the Desire/Nexus WiFi?
I'm on the same ROM as yourself. What value is your "screen-off lock screen delay" set to?
In my observations, the transfer in the state you mention still persists albeit at a very slow rate and the WiFi chip is certainly placed in the LOW power state, although on.
I'm unaware of any workaround but what I use myself when transferring bulk 1-7GB files through WiFi from my PC/Laptop, which is to change the value of the screen lock delay at screen off under Settings>OpenDesire>User Interface>(last option) to a high figure, like 10-30m, depending on how long I'm expecting the transfer to take. It's a trade-off but you'll still save over 95% of the power since your screen is off but the WiFi/SD/CPU remain working as when the screen is on. Maybe you've tried this already?
-----------------------------------
- Sent via my HTC Desire -
That's not a bad idea... brb testing .
-edit- Didn't work
As soon as the screen times out, my transfer speed drops to nearly 0 - even with the lock delay set to 30m... :'(
OK, that's confusing. I'll be back by tonight or morning... I have much testing to do on this since for sub-20mins, my connection runs plus 200Kbps according to the PowerTutor log in such a state. Usually it would drop to 0.3-8Kbps when the screen switched off.
-----------------------------------
- Sent via my HTC Desire -
th3 said:
OK, that's confusing. I'll be back by tonight or morning... I have much testing to do on this since for sub-20mins, my connection runs plus 200Kbps according to the PowerTutor log in such a state. Usually it would drop to 0.3-8Kbps when the screen switched off.
-----------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
Mine drops to practically 0. So low that due to overhead, FTP transfers pretty much stop completely...
I've seen that the linked kernel module provides a temporary workaround for you guys now. During the course of my testing your concern I basically found my WiFi module isn't ever turning off nor switching any connections off - it's always awake and can always transfer some data. Even in the LOW state it is connected at 24Mbps. Whatever I did I couldn't change this behavior on 4.0.4. Time for another wipe...
OD has many user preferred options baked in working fine alongside the conventional options so it'd probably be best suited for a toggle of this feature to be implemented for you guys (if at all possible). Not sure if that WiFi module power state behaviour is write-able and changeable on-the-fly before a reboot, should be, as it's only changing a hardware state.
-----------------------------------
- Sent via my HTC Desire -
The new Wifi module is working perfectly here. No more performance problems, and my power consumption has actually gone DOWN. Probably because I have a bunch of connected apps running in the background and PSP is very inefficient for that.
Also, the delays in Chrome To Phone and Appbrain web installs are gone...
I'm loving this fix...
So after quite a while debugging wake lock issues I finally figured out what was causing my phone not to sleep. Wifi!
I'm on MIUI with Savaged Zen 0.0.5 (happens across kernels) latest radio/wifi/wimax downgraded to 1.77 PRI/NV. Running MIUI, so wifi sleep policy is set to never to prevent random reboots.
It's very easy for me to duplicate this, when I have 3G on my screen on vs running time are nearly equal. If I turn off the display and leave wifi on my running time will be 300% of my screen on. The only "solution" i've come up with is to turn wifi off on display off with Tasker, but I thought wifi should be a more effecient radio than 3G, generally i've heard you get better battery life while on wifi....
The only thing that I can think that might have caused this is I imported my Wireless AP stored settings from a sense rom when moving to MIUI using Ti Backup. I'm at a loss on how to fix this though -- is there some sort of cache or something I can clear to get wifi back working correctly?
lil-dice said:
So after quite a while debugging wake lock issues I finally figured out what was causing my phone not to sleep. Wifi!
I'm on MIUI with Savaged Zen 0.0.5 (happens across kernels) latest radio/wifi/wimax downgraded to 1.77 PRI/NV. Running MIUI, so wifi sleep policy is set to never to prevent random reboots.
It's very easy for me to duplicate this, when I have 3G on my screen on vs running time are nearly equal. If I turn off the display and leave wifi on my running time will be 300% of my screen on. The only "solution" i've come up with is to turn wifi off on display off with Tasker, but I thought wifi should be a more effecient radio than 3G, generally i've heard you get better battery life while on wifi....
The only thing that I can think that might have caused this is I imported my Wireless AP stored settings from a sense rom when moving to MIUI using Ti Backup. I'm at a loss on how to fix this though -- is there some sort of cache or something I can clear to get wifi back working correctly?
Click to expand...
Click to collapse
No problems here with 0.0.5
My phone sleeps fine on both miui and salvage gb. Not sure why its giving your problems... i would have to guess its an app or something you have installed. Ive had two different miui installs and they both were 100% fine.
I'm not blaming the kernel or MIUI, I just have no clue how to debug this. I have a very minimal app set up now, i've uninstalled nearly everything...I would think if it was a rogue app it would happen over 3G as well as wifi...that's why I think it's something wit the wifi service itself, I just don't have any idea how to clear the wifi stuff off there's no data cache or anything.
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
jackie_jerk said:
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
Click to expand...
Click to collapse
It's happening to me too, it's very frustrating because when turned on it show as connected while it's false.. and i'm unable to browse/etc without re enabling wifi manually.
Same issue on the One S. This is most likely a driver related problem or something. I think the next firmware update should fix this, but if anyone of you can provide a hotfix or something I wouldn't be sad
Getting the exact same problem.
I have not noticed this so far.
same problem with wifi....and in the nights my Data also gets switched off after sometime of inactivity...couldnt find any setting related to that....do any of you know any hidden setting for it?
Yeah it happening to me as well. It could be kernel related.
Same Here
Mine is opposite, I want it to sleep on screen off but it keeps reverting to always on. Quite frustrating as it is the major cause of my battery loss
Sent from my HTC One X using XDA
Mine uses less battery with wifi on then normal 3g/4g
vallandil said:
Mine uses less battery with wifi on then normal 3g/4g
Click to expand...
Click to collapse
yeah same here, i've tested both over night and less battery used on wi-fi than 3g
I cant connect to my home wifi, it show connected then disconnect immediate
it no usaable now in my house
I just noticed this, too. Really annoying when you suddenly stop getting any notifications for E-Mails etc.
This is also not fixed in 1.28 :/.
I seem to only have this during the night hours, though. Like there is some sort of "Quiet Hours"-function but they forgot to put it in the settings >_<
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Dave Trouser said:
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Click to expand...
Click to collapse
Hello Dave,
Your analysis is quite impressive,
I also started dealing with this from "Special Sleep Mode" perspective.
I have got the FOTA, find data in my signature, and still suffering from the same issue.
To summarize my findings let me brief it:
When I first got the update, the problem seemed to be solved
I kept connected to my home WiFi router for several hours and got notifications from Whatsapp and Twitter
I thought the problem was solved and the bug was fixed, as I kept seeing my OneX on the WiFi Client on my router's managing interface on my PC
I shut down my phone, WiFi was on, and turn it back on
WiFi kicked in and connected with no problems,
An hour after, I sensed something wasn't good, notifications were silenced
I unlocked my phone and checked the status bar to find there were no DATA connections at all, nothing, no WIFi no Mobile Data, the usual bug
Now I started to think,
I Have got this problem after a full shut down, and at a battery below 15%
One thing to add,
I turned my phone off with WiFi enabled and when turned it on WiFi kicked in.
Now I am monitoring on the following basis.
I clicked all WiFi hot spots previously saved on my OneX and chose to "FORGET"
Connected to my preferred hotspot
Monitoring the WIFI, with battery over 15%, seems to be very healthy, more than an hour on sleep mode, and WiFi is on, uninterrupted and VERY CONNECTED
I will keep monitoring the behaviour till battery fall under 15% and will report back
I'll make sure to turn off WiFi before shutting down my phone if I have to, this is to eleminate the other variable and keep concentarting on one variable "Battery percentage"
A point to add:
On my previous Gingerbread SensationXE, there was an option on Settings> Battery to control phone's behavior and stop background sync and other activities when battery fall below a pre-defined percentage.
Default was 15%
I can't find this option on my One X, IceCream Sandwich
That's why I started to analyse the problem from the perspective of "Special Sleep Mode - Below 15%" bahaviour.
I will report back as soon as I have results.
Thank you
Update:
Started to experience same issue when battery falls below 50%.
All DATA gone down, no WiFI and no Mobile Data.
Charged my phone to 73%, "Forget" all WiFi network.
WiFi off
Monitoring Mobile Data only.
Mobile data gone down after 30 minutes sleep mode, 73% battery
Connecting to WiFi, and started monitoring WiFi
WiFi + Mobile Data gone down after 30 minutes.
Power down phone, and then on, 73% Battery, WiFi off
Monitoring Mobile Data only.
Failed, and disconnected
Failure
I've done a Factory Reset !!!
Update:
No problems on WiFi, nor Mobile data whatsoever for the whole day until battery falls below 10% !!!
WiFi disconnected after exactly 15 minutes, Mobile data kicks in, then disconnected as well !!!
I turn on the screen after 20 minutes to find NO DATA CONNECTION of any kind.
Mobile data kicks in, WiFi replaces mobile data, and start receiving all data dependent notifications!!!
I have the same problem, wifi is turned off sometimes when screen is locked.
Pabson said:
I have the same problem, wifi is turned off sometimes when screen is locked.
Click to expand...
Click to collapse
Hello Pabson,
Thanks for sharing.
Would you provide more information about your phone's software number, your location (Region, not specific).
Thanks again.
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Monrad said:
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Click to expand...
Click to collapse
If it happens on every single rom you you installed, then apparently this is a hardware fault.
What "Base" do the Roms, you installed, created on?!
I mean based on what version of RUU?
same problem here.
I mis the "power saving mode" options like in android 2.3
It might idd have something to do with power savings mode kicking in.
Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
emptyragnarok said:
Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
Click to expand...
Click to collapse
Set it to Never instead of Always. Its ass backwards.
scottx . said:
Set it to Never instead of Always. Its ass backwards.
Click to expand...
Click to collapse
OP stated its already set to never
Sent from my Vivid 4G using Tapatalk 2
well i have this problem too on every jelly bean rom. the only rom without this problem in cm10 stable. now i'm with cm10.1 hoping they'll fix it like in cm10.
when that problem comes out just toggle on and off airplane mode and it should disappear until next wifi toggle off and on.
I hope google will solve it in key lime pie
CM 10.1 has only just started doing this in the last week or so, it was fine before. Was wondering if it was just me with this issue or not...
emptyragnarok said:
Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
Click to expand...
Click to collapse
Am i correct in understanding that you don't want it to disconnect? The option in the settings is "Keep wifi on during sleep". If you have it at Never, then it will disconnect when the phone goes into sleep. It should be placed on Always because you want it to be on even during sleep
Flowed and Tapped from my Nexus
fixed the wifi problem
Heya! My first post!!!
So, i had the same problem on my Allview P5 Quad.
The guys from Allview released an update for my phone based on 4.2.1 and i thought the problem was from them. I had WiFi turned on and after a few minutes from entering sleep mode, the WiFi got disconnected, both WiFi and data. I have installed the last update again and again, rooted, unrooted, tried every option from WiFi and i still had the same problem.
So i timed the time when the WiFi disconnects and it was exactly 6 minutes. So i thought that it must be an option that does this. So i unchecked the Quick Power Saving icon from Switches and ... SURPRISE! My WiFi stays on continuously. So, the problem is from the system power saving settings. I hope this helps all of you.
P.S. Love this forum! Thanks for all your help!
I believe I found the problem, some how it is not the phone but my wifi router (and all routers) is the problem. Go into your router settings and look for the "Beacon Interval" and set that number to 50. I'm not going to explain what the beacon interval is, go google it and you will see. I switched mine and now the wifi on my phone does not switch off when in deep sleep.
Hey guys I have searched and searched for a remedy for my problem, first off here is what I am running on my i9250:
ROM: Beanstalk 1.190
Kernel: KUBO-AK r46
Baseband: I9250UGLL1
Now the problem is this, all data (wifi and cell data) randomly disconnects when my battery is anywhere lower than 50% and gets increasingly annoying the lower it gets. I do not have any powersaving features enabled and yes I have changed the advanced settings in Wifi (Keep wifi on during sleep: checked to Always, Avoid poor connections: Unchecked, wifi freq band: 2.4ghz only, wifi optimization: unchecked; i guess that is a powersaving feature as well)
Still the problem persists. The other problem is, it happens to my cell data as well, when I wake the phone up (when it is under 50% or so) I see that only then the cell data starts to reconnect, and then I get all my whatsapp messages and emails all at once. (same goes with the wifi) Keep in mind though, when I have the phone plugged in and charging the wfi or cell data are active when the screen is switched off. The problem only occurs when the battery is below 50%.
Is there anything I can do about this, it gets really annoying because I have to wake the phone up and keep the screen on, in order to get messages. I know there is a widget that keeps the wifi active regardless of the battery level, but what about the phone data when I am out and about. I need to stay connected especially with emails and whatsapp because that is how clients stay in contact with me and it sucks when they send messages and I get nothing and they have to wait for me to check or wake up my phone for the data connection to re-establish whether it be on wifi or data.
Anyone knows how to fix this problem?
No one?
Have you tried changing your kernel? Sometime kernels can have weird affects on your device.
İ think this is one of kernel problems. Battery section is controlling by kernel. Find a kernel and use smartassv2 with sio.
Yes, I swapped around a few kernels and same effect. I really am at a loss.
amd-dude said:
Yes, I swapped around a few kernels and same effect. I really am at a loss.
Click to expand...
Click to collapse
it happens to me as well, not sure about the 50%, but when I am at home with 3G and wifi on very often if i turn on the phone the signal bars are grey and not blue and it seems that connectionwas lost during sleep and is being turned on again
btw, I am on stock 4.2.2
Try to format /system. And reflash. İf its not work, flash stock rom and flash custom rom. İm not sure if it will work.
Believe me, I have tried every wipe and every rom/kernel combo that is humanly possible
Then problem is hardware thats what I thought. Unfortunately. Technical support helps.