Nexus Screen-off wifi speed issue - Samsung Galaxy Nexus

I've been having this weird issue that when I use my nexus as a wireless adapter for my computer (turn on wifi and enable usb tethering), the performance of the wireless connection significantly degrades when the devices screen is off.
For example, I play an RTS game that is very latency dependent, and when the screen is off my ping rockets up to around 600 ms but when I leave the screen on it goes right back down to the normal ping for my connection which is around mid-80s in ms.
I've experienced the issue with the stock rom and with the liquid smooth rom, and I'm inclined to believe that it's an issue with the power profiles for the wifi or something (different radios have not fixed the issue).
Has anyone else had a problem like this and does anyone know if there is a fix? Thanks.

Radio has nothing to do with wifi.
Try a different kernel.
Sent from my i9250

franco.kernel has a setting for this.

There is also a app ....wifi high performance that will stop it too.
Sent from my Sprint Galaxy Nexus CDMA using Xparent ICS Blue Tapatalk 2

It's not a problem, its a feature. You can fix this with custom kernels but the reason this happens is to save your battery when your not using your phone.

maybe this will help
http://forum.xda-developers.com/showthread.php?t=1370544

Related

Unstable CPU

Hi guys,
Just picked up this phone early in the week. A couple of issues I'm having:
Using stock/rooted Rom the phone will
(1)sometimes reboot after turning on Bluetooth.
(2)Google music will skip every few seconds. I thought it might be my internet connection but it doesn't happen on my tablet connected to the same router.
Using stock/rooted Rom & cm9 nightly I have noticed that the CPU fluctuates between lowest voltage and highest voltage every few seconds even when idle. Is this a common issue or did I get a lemon?
Thanks!
Sent from my LG-P930 using XDA
Fist Pie said:
Hi guys,
Just picked up this phone early in the week. A couple of issues I'm having:
Using stock/rooted Rom the phone will
(1)sometimes reboot after turning on Bluetooth.
(2)Google music will skip every few seconds. I thought it might be my internet connection but it doesn't happen on my tablet connected to the same router.
Using stock/rooted Rom & cm9 nightly I have noticed that the CPU fluctuates between lowest voltage and highest voltage every few seconds even when idle. Is this a common issue or did I get a lemon?
return it....get a new one
Click to expand...
Click to collapse
Fist Pie said:
Hi guys,
Just picked up this phone early in the week. A couple of issues I'm having:
Using stock/rooted Rom the phone will
(1)sometimes reboot after turning on Bluetooth.
(2)Google music will skip every few seconds. I thought it might be my internet connection but it doesn't happen on my tablet connected to the same router.
Using stock/rooted Rom & cm9 nightly I have noticed that the CPU fluctuates between lowest voltage and highest voltage every few seconds even when idle. Is this a common issue or did I get a lemon?
Thanks!
Sent from my LG-P930 using XDA
Click to expand...
Click to collapse
Sounds pretty much in line with this issue I had, http://forum.xda-developers.com/showpost.php?p=24179363&postcount=4 . I would also suggest getting a replacement.
Also what did you use to track your voltage/cpu issues? I would like to make sure there is no issues with my 2nd P930 before I flash CM9.
Thanks.
nexwave-mat said:
Sounds pretty much in line with this issue I had, http://forum.xda-developers.com/showpost.php?p=24179363&postcount=4 . I would also suggest getting a replacement.
Also what did you use to track your voltage/cpu issues? I would like to make sure there is no issues with my 2nd P930 before I flash CM9.
Thanks.
Click to expand...
Click to collapse
Thanks. I was using the stock LG applications manager app. It shows CPU%. On cm9, I was looking under the performance settings where it shows current CPU voltage.
Taking it back today. I really want to love this phone. Hope I get a good one.

Wifi speed while screen off

So I was streaming music from MOG and all was working well until my screen went off (idle). Music started to pause/buffer and kept doing so every 10 seconds. When I turn the screen back on and stare at it, it won't do it at all and I can see it load full on the seek bar. Only happens when screen goes off and phone goes idle. I'm guessing its something with the CPU throttling maybe? Is there any way I can fix this? I'm connected on WiFi 5G and I have "keep WiFi on during sleep - Always".
This seems to be a pretty common issue (I have it myself, when connecting via WiFi with adb I need to keep my display on) and I've seen two issues on file here and here. I've yet to see a fix for it yet though
Aww crap. Well that sucks. Does it happen on custom roms/kernels?
reyes.jr said:
Aww crap. Well that sucks. Does it happen on custom roms/kernels?
Click to expand...
Click to collapse
I'm running CM9 nightly with leankernel now. Although it's happened since I've gotten the phone, and I've ran probably half a dozen different ROMs and 3 different kernels, including stock. I vaguely remember reading some posts where people either said there was a fix or they were working on it, though I'm honestly not real sure.
K thanks for the info bro.
reyes.jr said:
So I was streaming music from MOG and all was working well until my screen went off (idle). Music started to pause/buffer and kept doing so every 10 seconds. When I turn the screen back on and stare at it, it won't do it at all and I can see it load full on the seek bar. Only happens when screen goes off and phone goes idle. I'm guessing its something with the CPU throttling maybe? Is there any way I can fix this? I'm connected on WiFi 5G and I have "keep WiFi on during sleep - Always".
Click to expand...
Click to collapse
I am also facing the same issue. Yesterday, I was downloading ARHD 3.0 directly on phone through wi-fi. Surprisingly the progress was 1% completion per minute in screen-off mode. But the moment, I would turn on the screen, the rate became 3-4 times faster. i.e. 3-4% completion per minute.
Deviating from topic, I have seen similar behaviour quite some time back in iPad1.
kizuki.buy said:
I am also facing the same issue. Yesterday, I was downloading ARHD 3.0 directly on phone through wi-fi. Surprisingly the progress was 1% completion per minute in screen-off mode. But the moment, I would turn on the screen, the rate became 3-4 times faster. i.e. 3-4% completion per minute.
Deviating from topic, I have seen similar behaviour quite some time back in iPad1.
Click to expand...
Click to collapse
Well glad to know I'm not in the same boat. Have any of u tried android 4.0.4?
reyes.jr said:
Well glad to know I'm not in the same boat. Have any of u tried android 4.0.4?
Click to expand...
Click to collapse
Yeah, I'm on Liquid 1.25 (4.0.4 based ROM) and it still does it. If I run a speed test and turn the screen off, let it finish and check it; it will never go much over 5 Mbit/s. When I run the test with the screen on, I will get 10-20 Mbit/s. This was of course testing on my home WiFi network.
This is pretty annoying because I download anime torrents every week and it's enough of a battery killer already just to download the thing, but now I have to leave the screen on in order for it to even finish in a reasonable amount of time. I've also tried setting the minimum clock speed to 1200 MHz in SetCPU just to see if it was a CPU throttling/bottleneck issue when the screen turns off. But it made no difference . This can't be a hard fix for Google/Devs.
At least with popcorn and franco kernels you can do
echo 1 > /sys/module/bcmdhd/parameters/wifi_pm
to put wifi on high performance mode with screen off. They say this can enable high throughput.
reyes.jr said:
Well glad to know I'm not in the same boat. Have any of u tried android 4.0.4?
Click to expand...
Click to collapse
Yes, I am using ARHD 3.0 which is based on 4.0.4
There seem to be definite improvements and it was worth the effort to update.
As far as I know, wifi goes into a low power state with screen off to conserve power/battery life.
My command put it in normal power mode, but kernel must support it
KiNG OMaR said:
As far as I know, wifi goes into a low power state with screen off to conserve power/battery life.
Click to expand...
Click to collapse
oooo, so only on WiFi does this occur? On 4g it doesn't?
This also happen to me.. Happened in 4.0.1 4.0.2 4.0.4 so far I managed to bypass the issue with wifi keep alive its a free app from play store.. You could try and comment if that works for you
Sent from my Galaxy Nexus using xda premium
Threre is no need for any custom kernel module. Im on Stock ICS 4.04 and found an easy workaround. Actually this issue is not an android bug, but an issue of streaming apps that aren't proberly coded for honeycomb and ICS.

[Q] Switch LTE off when Screen turns off

Is it possible to switch LTE off and switch to only 3G data when the screen turns off and then back to LTE when the screen turns on? I'm seeking better battery life with this. Would it even make that much difference if I could do this?
I'm running AOKP milestone 4 with the tuna faux kernal 3.0.24.
I've tried the option in the rom settings for this but it doesn't seem to be working. The only way I know to check this is to turn the screen off for a while and then back on and immediately look at the signal icon. I would expect it to say 3G as soon as the screen turns on then switch to 4G. But every time i turn the screen on it says 4G as soon as it turns on. So i'm assuming it's not working. I've also tried using Tasker for this with no avail.
Any ideas? Anybody have this working using other methods?
Thanks
I wanted LTE on only when connected to charger. Plus it would be nice to toggle LTE directly from the power strip (gps, blutooth, wifi widget)
Liquidsmooth has power options to set data when the screen is off. I have not tried it however because I rarely use LTE unless I'm by a charger.
Sent from my Galaxy Nexus using XDA
There are some apps and ROMs that will do this.
Might end up being more trouble than its worth, however, as the 3G/4G handoff isn't very fast, and it will often drain more battery toggling in on and off over and over again rather than just leaving it on.
I would love an app that knocked me down into 2g when my screen was off...
Sent from my Galaxy Nexus using xda premium
Or does that only help battery life with GSM phones?
Sent from my Galaxy Nexus using xda premium

wifi sleep problem...

Hi all,
I have 4.0.4 stock gnex.
My wifi settings are this:
Settings->Wifi->(Menu Button)->Advanced. It's listed as "Keep WiFi on during sleep"
When the phone go to sleep the wifi seems to stop, I am downloading an app
from the market, when the phone go to sleep, the download sleep.
Not to doubt you on this but does it also say "Always" beneath the "Keep Wifi on during sleep"? If so, perhaps you have an app that overrides that and disables it.
I have no app that can do it.
Hi, I just tested and had no problems downloading a 50 meg game with screen off.
From honeycomb on google changed how wifi was handled when screen is off. This gives similar problems with older applications but should not be a problem for apps made by Google like Play and Music.
You still did not answer the previous posters question. You reference the advanced wifi setting but not what it is set to.
Sent from my Galaxy Nexus using Tapatalk 2
atkhobby said:
Hi, I just tested and had no problems downloading a 50 meg game with screen off.
From honeycomb on google changed how wifi was handled when screen is off. This gives similar problems with older applications but should not be a problem for apps made by Google like Play and Music.
You still did not answer the previous posters question. You reference the advanced wifi setting but not what it is set to.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It's obviously set to always
People have had issues with the setting you choose in that menu not sticking. Try toggling it back and forth and doing some reboots. I don't have the issue on 4.0.4.
From what I understand, when the screen turns off wifi goes into a low power state, draining less battery when on standby. So it greatly reduces the speed (sometime pauses) of all connections to save juice.
KiNG OMaR said:
From what I understand, when the screen turns off wifi goes into a low power state, draining less battery when on standby. So it greatly reduces the speed (sometime pauses) of all connections to save juice.
Click to expand...
Click to collapse
I understand if it slowed down, but it shouldn't ever pause though.
This low power state is what I referred to in my previous post. An app must now explicitly request that high power wifi mode is retained when screen is off. All apps from google should be doing this already.
Unprofessional app developers that have not been reading up on the latest changes in android api (like Audible!!! shame on you) will have major slowdowns downloading over wifi when the screen is off.
Sent from my Galaxy Nexus using Tapatalk 2
I have the exact same problem as posted here And I may have found the solution at this other link here.
What seems to be working for me is the change the "Keep Wi-Fi on during sleep" to "Never (increases data usage)". That totally does not make any sense to me. If you 'never" keep wifi on during sleep it should *not* increase data usage. Anyway, I have noticed two things:
1) If I set it to "Never," the files continue to transfer when the screen goes to sleep
2) Wifi transfer rate seems to be *much* faster on my home network. I'm using ES File Explorer, so it could be app related.
Just discovered that according to Google, "Never (increases data usage)" means that it will not stay connected to WiFi while asleep which will increase your 3G/4G data usage. Never the less, it seems my Wifi is better when set to "never"
I wrote an article about wifi usage on my blog here: http://zapek.com/?p=262
You shouldn't worry about PS-Poll mode. It's fine for downloads usually as they don't require a fast interactive response.
Sent from my Galaxy Nexus using Tapatalk 2
KiNG OMaR said:
From what I understand, when the screen turns off wifi goes into a low power state, draining less battery when on standby. So it greatly reduces the speed (sometime pauses) of all connections to save juice.
Click to expand...
Click to collapse
this could be a possible reason, in my office wifi is not really powerful,
a low power state can disconnect the wifi.
I'm checking better the problem, it seems that the wifi goes into some sort of
energy saving mode when the screen is off that drop my wifi speed.
Is there a way to solve this problem?
it seems that I'm not the only one with this problem-
http://productforums.google.com/forum/#!topic/mobile/DJTwAutjsIQ
so no solution to this problem yet ?
sblantipodi said:
it seems that I'm not the only one with this problem-
http://productforums.google.com/forum/#!topic/mobile/DJTwAutjsIQ
Click to expand...
Click to collapse
This is not the same problem that you have. The thread you link to is about general download problem with screen off. Your problem was about downloading from the market while screen is off.
Sent from my Galaxy Nexus using Tapatalk 2
atkhobby said:
This is not the same problem that you have. The thread you link to is about general download problem with screen off. Your problem was about downloading from the market while screen is off.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
sblantipodi said:
Click to expand...
Click to collapse
In your original post your wrote that you had problems downloading from the market with the screen off.
The android market is a google app and should not have the problem discussed in the thread you linked to.
The problems in the thread relates to applications that have not yet been updated to support power saving features in resent android versions.
So your problem is not the same.
I did write this in my previous posts from may 25. but maybe it was unclear.
Sent from my Galaxy Nexus using Tapatalk 2
atkhobby said:
In your original post your wrote that you had problems downloading from the market with the screen off.
The android market is a google app and should not have the problem discussed in the thread you linked to.
The problems in the thread relates to applications that have not yet been updated to support power saving features in resent android versions.
So your problem is not the same.
I did write this in my previous posts from may 25. but maybe it was unclear.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
the problem is present in all apps, google one and non google one so you don't understood the problem
sblantipodi said:
the problem is present in all apps, google one and non google one so you don't understood the problem
Click to expand...
Click to collapse
Hey its no problem. It's only that this is the first time you state that you have problems with all apps.
I still don't understand why you have problems downloading apps though. I have tested and do not have this problem BUT I do have the problems with most other 3rd party apps.
Anyway there is a fix that probably will help you. Download "WIFI High performance' widget from the market. Add the widget and enable it. Good luck.
Sent from my Galaxy Nexus using Tapatalk 2

[Q] Phone getting hot after few minutes of use

Been noticing this since last week. Every time I use my phone for like 1 or 2 minutes, the phone starts getting hot. Usually, it gets hot after an hour of use (Facebook, Messaging, Browser, Twitter, Play Store). Went to Performance settings in Settings, then Processor, and notice the Current CPU frequency is always at 1000 MHz, then goes down to 200 or 100 MHz when idle for a few seconds. Switched between conservative and ondemand governor, no OC. Was on PA 2.54 when this happened, but I'm on CM10 Stable now, and it's still getting hot after using it for a few minutes.
This hasn't happened to me before. Not sure if this is normal, but I just want to make sure.
My recent heat and battery drain was coming from an app. I didn't check the CPU.
I checked the battery area of the settings and found a locale add-on that was draining more juice than my screen.
sent from a secret underground bunker
It will happen if your signal is real bad or 3G is down in your area.
I don't think it's my signal. I get 2 or 3 bars almost all of the time at home with the FC09 modem.
Besides opening and/or using an app, it seems that the CPU clock will go max speed if I do something, such as scrolling. Battery is also draining quickly before this was happening to me.
Sent from my SPH-D700 using Tapatalk 2
InsaneHien said:
Went to Performance settings in Settings, then Processor, and notice the Current CPU frequency is always at 1000 MHz, then goes down to 200 or 100 MHz when idle for a few seconds. Switched between conservative and ondemand governor, no OC. Was on PA 2.54 when this happened, but I'm on CM10 Stable now, and it's still getting hot after using it for a few minutes.
Click to expand...
Click to collapse
I think that's a Jellybean-specific CPU behavior (to keep system flowing like "silk", JB put CPU at max the instant you have your finger on screen... At least that's what I heard). Try ICS/GB ROMs and see if problem persists.
Sent from HTC Incredible S @ AOKP
AndyYan said:
I think that's a Jellybean-specific CPU behavior (to keep system flowing like "silk", JB put CPU at max the instant you have your finger on screen... At least that's what I heard). Try ICS/GB ROMs and see if problem persists.
Sent from HTC Incredible S @ AOKP
Click to expand...
Click to collapse
Yeah, you're right. I even looked it up. It's part of Jelly Bean.
I'm going back to CM9 or The People's ROM.
You could try a different kernel, or lower voltage. Sorry not sure what phone this topic is for lol but that's some options. It takes a lot to get my phone hot, and I'm on jelly bean
Sent from my Galaxy Nexus using Tapatalk 2
I don't have this problem on nitest kernel with the ns4g modem
Sent from my SPH-D700 using Tapatalk 2
You likely have an issue with your settings.
If it's not an app, you probably have an issue with your performance settings.
Try turning off some of the eye-candy features in the settings. This will likely include the Cyanogenmod specific setting area as well.
That should at least help.
Ruedii said:
If it's not an app, you probably have an issue with your performance settings.
Try turning off some of the eye-candy features in the settings. This will likely include the Cyanogenmod specific setting area as well.
That should at least help.
Click to expand...
Click to collapse
It didn't help unfortunately.
I flashed CM9 earlier and the issue still exists. I'm now back on CM10 (11/22 nightly).
It's okay if this can't be resolved. I am probably gonna go back to a GB ROM.
EDIT: Issue still persists in GB. I'm guessing it could be a hardware issue? I have no idea. Back to JB. I'm still willing to try anything to resolve this. Thanks to those who posted some solutions.
Sent from my SPH-D700 using Tapatalk 2

Categories

Resources