Quote:
Originally Posted by phoenix_wnd
Have you tried setting your wifi standby policy to 'never'? It might work...
What ROM are you on? I know this policy setting exists at least in cm7...
Best regards
Phoenix_wnd
Sent from my GT-I5800 using XDA
|
Is tested on froyo JPS (my phone, no simm, wifi only) and JPU (my wife's phone, wifi only, has simm in phone)
For froyo, WIFI is already set to "never sleep" by default.
For CM is had to put this setting to fix the auto-rotation feature in kyrillos and hercolubus ROM.. but I'm not sure if CM reconnects WIFI in standby (deep sleep) modus... I doubt it to happen.
I believe this issue only happens when you have no mobile data (APN) on your phone, only wifi...so you could easily verify too :)
Either way 3G gets your phone out of deep-sleep regularly (to fetch data) and also triggers WIFI to reconnect by that, so then you will not see the issue.
---
So if you want to test, disable you APN (rename it) leave your house/wifi, come back in some minutes. Wait 5 extra minutes, then turn screen on and see if WIFI was connected already....or WIFI just starts connecting when you turn on screen.
If WIFI starts connecting at the moment you turn on the screen then CM kernels also has this issue.
---
Again, stock kernels don't have this issue..I tested it (but miss other goodies ofcourse :) )
P.S. in build.prop the pm.sleep_mode=X is involved, but even without this line, WIFI doesn't reconnect in standby on custom kernels.
This makes me think about setting a higer value for pm.sleep_mode on custom kernel...like 2,3 or 4.. New testing for me too.
Br.
Michel
Primary phone :
SonyEricsson xperia RAY
current ROM :[ROM&KERNEL]Arcatarc's SuperleggeraV5 (Modulare)
Secondary Phone (for testing purposes) WIFI only:
Samsung Galaxy-3 Apollo I5800
Current ROM : Kyrillos 9.7.2
Tablet :
Archos 101 Titanium: stock JB
|