[Q] Numer of wifi scans - Galaxy S I9000 Q&A, Help & Troubleshooting

Hey guys,
I got a question regarding the number of wifi scans while the display is on.
By accident I saw in the settings that my Phone scans every 5 seconds for new wifi devices, even if it is connected to my own device. I'm using Darky's 9.5 with DarkCore. Is there a possibility to increase the time between scans when the phone is connected to a device already or to switch the scan off.
Greets

You can set WIFI sleep policy in the advanced menu.

@V300 its not what he wants. Wifi sleep policy does nothing when the phone is on (he using it)
@OP saw somewhere either a kernel, rom, script, setting or something that set the scan interval to 60 seconds. (or someone requesting it )
just search around with that number "60" and wifi scan (rescan) etc. Some threads will popup

ok thx pagot. I will search later for it. If I will not find it I will post again.

Related

WLAN turning on by itself....

Hello everyone!
Just moved from a P3600 to the P4550 and noticed something strange twice in the last 4 days. When I looked at the display in the morning (phone and WLAN were off overnight.....hardly ever turn on WLAN, as I only use it when travelling) I found that WLAN had switched itself on sometime during the night. What gives?
Any ideas would be greatly appreciated!
Thanks!
This happens to me also if:
(1) ActiveSync is set to "as items arrive" (i.e. push)
(2) There is no phone signal.
Apparently AS looks for the Exchange server, and not being able to find a phone signal, turns on Wifi to see if it can connect like that.
I suppose this will also happen if you have AS set to poll mail at intervals. When the interval time arrives, I guess AS will want to go online and - not being able to use the phone signal - will turn on Wifi.
Very annoying as it drains the battery. It does NOT turn Wifi off after a while.
Oh well.
This happens to me also if:
(1) ActiveSync is set to "as items arrive" (i.e. push)
(2) There is no phone signal.
Apparently AS looks for the Exchange server, and not being able to find a phone signal, turns on Wifi to see if it can connect like that.
I suppose this will also happen if you have AS set to poll mail at intervals. When the interval time arrives, I guess AS will want to go online and - not being able to use the phone signal - will turn on Wifi.
Very annoying as it drains the battery. It does NOT turn Wifi off after a while.
Oh - an afterthought: in CONNECTIONS I have set both programs accessing the net and programs accessing a private network configured to use MY WORK NETWORK. Don't know if fiddling around with that may stop AS turning on WifI.
Should you find a solution, please post coz I would like to fix this bug/feature too.
Hmmm.....if this theory is correct then going to flight-mode instead of just turning the phone off - should effectively not allow any kind of connections.....will check tomorrow....

Diamond Wi-Fi Problem

I have recently procured an HTC Diamond mobile and is facing the following problem:
I have a Linksys Router at home. When I switch on the Wi-Fi in my Diamond, it gets connected to the router. In the status, I can see the signal strength, Tx, Rx rate etc. But when I open the browser (both opera & IE), the web pages does not open. Error message stating check the url or does any other programme using the internet works? appears. Even my weather does not get updated. Using the same router, I am able to connect my laptop as well as my desktop to Internet.
When my diamond is synced using active sync, my mobile is able to connect to the Internet & Weather application also get updated.
Kindly help me to resolve this issue and make diamond connect to net using wi-fi.
Thank you in advance.
I have the same problem sometimes
I just changed parameter in settings -> connections -> wireless lan -> power mode -> "best performance" instead of "best battery" and it seems to work now.
I'm new to WM, so I don't know if it's a bug: when I don't use my phone I press the power button, or I wait it to go to "sleep mode" in 40s.
When I press power button to reactivate the screen, I can see in the first seconds that the wlan was disconnected and connects again.
So it seems that wifi is always disconnected when the phone is in sleep mode? That means no mails can be received ? Can anyone confirm?
Thanks
Hi there for both of you!
I had a connection problem with my Diamond at home. It was almost the same as tkak just I couldn't figure out whether ActiveSync connects or not. I managed to bypass this to set my routers DHCP timeout from 1 week to 3 hours and it all went away. The network status showed periodic connect/reconnect during the problem so it might be a different prob than yours.
Peio64:
WM6 keeps WiFi connection asleep during sleep mode. Imagine the battery usage if it was connected to WiFi all the time. So be happy with that and beside it is usable. WiFi automatically tries to connect to the closest hot-spot if it was connected before each time you switch on. Normally it shouldn't take more than 5-10 seconds and the whole process can be followed on the top bar.
Mails: Use DirectPush and GPRS connection and e-mails will arrive instantly. Google for setting this up. With Wifi I dunno - if you schedule ActiveSync for a periodic check whether your WiFi will be used or a new GPRS connection. I think GPRS can be used while the device is asleep but I'm not sure. Someone should test this. Probably whichever is quicker to build up a connection will be used for data transfer. (Note: on some forum I read that if you disable GPRS auto check with a tweak battery will last longer so I guess this means that GPRS is always connected.
Regs, Cina.
Does your diamond obtain an IP adress from your router, and is the connection setup as 'connects to internet'?
cina said:
Hi there for both of you!
Peio64:
WM6 keeps WiFi connection asleep during sleep mode. Imagine the battery usage if it was connected to WiFi all the time. So be happy with that and beside it is usable. WiFi automatically tries to connect to the closest hot-spot if it was connected before each time you switch on. Normally it shouldn't take more than 5-10 seconds and the whole process can be followed on the top bar.
Mails: Use DirectPush and GPRS connection and e-mails will arrive instantly. Google for setting this up. With Wifi I dunno - if you schedule ActiveSync for a periodic check whether your WiFi will be used or a new GPRS connection. I think GPRS can be used while the device is asleep but I'm not sure. Someone should test this. Probably whichever is quicker to build up a connection will be used for data transfer. (Note: on some forum I read that if you disable GPRS auto check with a tweak battery will last longer so I guess this means that GPRS is always connected.
Regs, Cina.
Click to expand...
Click to collapse
Thank you for your answer,
I had a SE P1i before, and wifi was connected all the time with push mail. With the diamond and its weaker battery, I set up my mails schedule to connect every 15 min so wifi only needs to be active every 15min, even in sleep mode, I don't want it to be connected all the time this is of course a battery waste.
HSDPA is connecting in sleep mode there's no problem with that, I just wish to use wifi for mails when I'm at home as my data plan is unlimited for web surfing but only 10Mo/month for pop/imap connections.
BTW I don't use the "keylock" option, is it different from sleep mode in this case? I can't see the advantage of keylock versus sleep mode
I had an ETEN M600 for ages before and I found that for sync it always used GPRS even if WiFi was available. The cause for this was GPRS was available while device is asleep so it can start syncing immediately after wake up (does it needs to wake up for sync?). So you probably have to switch GPRS (HSDPA) off while you're at home.
Keylock is for locking hardware buttons and touchscreen while it is active. (You won't dial up anyone from your pocket). It has nothing to do with sleeping just if you set up the registry tweak the device get locked (Keylock software is started) if you press power to send it to sleep. (I've almost written "off" but it is obviously not true - you can switch it off with a long press on power = soft reset).
Hope this helped a bit.
Cina
Okay thank you, I checked and HSDPA is connecting every 15min in sleep mode even with wifi ON. If I switch data off I suppose nothing connects and no mail is received, which is I think it's a weird behaviour.
By the way, I have set my data connection to swich off 10 seconds after not being used, and it works perfectly and reconnects automatiquely when it needs to. But for the wifi I can find that option, it's stays connected all the time when I use the phone, even if I don't need to. Is it possible?
Maybe it's due to the fact that it's always checking if there are new networks? On Symbian UIQ3, you can pre-configure networks, give manually priorities for each networks (1.Wlan work, 2.Wlan home, 3.3G etc..) and for each application (web, mail, etc). When the phone connects it checks if the network "1" is available, if it's not it checks the network "2", and once it's connected it doesn't check anymore. Is there a WM6 advanced network tool like that?
(Sorry for my english)
I did the following and now it gets connected to the web:
I just changed parameter in settings -> connections -> wireless lan -> power mode -> "best performance" instead of "best battery".
I do not know why this needs to be done like this.
Thankyou all for resolving my problem
I'm experiencing problems connecting to my WL Router (DrayTek 2820n) using WiFi when the router is set to Auto instead of to a specific channel. I've noticed from some threads for other mobiles that people are exprience similar problems. Does anybody knows what is the story around which channels are supported on WiFi: 1-11, 1-12 or 1-13. My router is set to 13 by default. In addtion to that Diamond has problem to connect to some channels even in the 1-11 range. So how can I check, which channels are supported and for which region?
Edit: I did further testing and it became obvious that when using Auto channel selection on the router, Diamond wouldn't connect. When selecting manually any channel between 1-11 it works OK, but when selection channels 12-13 it stops working, which makes me believe that the Diamond doesn't have support for the channels for non-US regions.
Does anybody have any idea how to change wifi region to support 12-13 channels as well? So far I couldn't find anything on the net that would help me doing it. Is it possible that it might be WM 6.1 issue and not Diamond?
HI I am actually having a diffirent issue but still related to wi-fi. When my phone awakes from sleep, it promts me to connect to my wi-fi server at home, when it was already connected jus minutes before. I have to re-enter the pass phrase everytime it awakes from sleep. This does not seem normal as my 6.0 touch didnt do that.
Any takers on this?
For more channels, it depend of US version or EU version. You need to changer your firmware but the problem is that in France for Internet you use PPoA and Belgium PPoE and I do not know if in the US they use the same so you will probebly losse your ability to connect to the Internet. Having more channels is not interesting because you need a hope of 5 between channels ( ex : ch1 + 5 = ch 6 and ch6 + 5 = ch11) between ch1 and ch6 place a ch11 for avoiding interferances. In 802.11g that is a question of scheme.
Sorry for my poor English.
Problem connecting to home network wifi
Hi, i've been using diamond to connect to my wifi home network but since few days is not possible anymore even if nothing was changed in the settings of the router.
The phone recognize the network as available, i push connect, it comes connecting but instead of connecting to the netwok it goes back to available.
Password is correct and the setting are the same as few days ago.
Any idea which setting should be modified?
Thanks in advance!
Panco76
Hello everyone,
I have one problem with my diamond. I disabled the "data transfer" with the improved comm manager. I usually use wifi when i'm home, however, i've seen that even though wifi is active, HSDPA connection is activated as well so i got charged, this sometimes happens when updating weather data or downloading emails.
Anyone with the same problem?
Yes - having he same problem.
I have WIFI at home and at work - so i want to use GPRS only when i am outside. never managed to do this - except when i kill GPRS fully - and even then Opera, the weather and push-mail wont work. :-(
WiFi Channels 12-13?
I need to bump up this issue again.
I can't find anywhere in this forum how would you change your WiFi channel range from US to EU (i.e. 1-11 to 1-13). My Diamond was purchased in Australia and I was hoping that the new SW upgrade would rectify that, but it looks to me that's not the case. Any idea if that can be done in registry?
Thanks.
Change Channel range from 1-11 to 1-13
***Bump***
Has anybody got any ideas how to increase the channel range from 1-11 to 1-13?
Hi, I am having a seperate problem from all that are listed. I have the linksys rangeplus router, and my Diamond wont even detect my network when it searches, yet my computer and PS3 do fine. Can anyone help me?
another problem...
Hi,
i have a problem with the wifi on my Diamond aswell..
I have a router at home which is encrypted. When I try to connect to it, I type the encryption key and it says Connected but i cant surf any pages. When i go back to wifi settings my home network switches between Not available and Connecting...
However, when i remove the encryption, everything seems to work fine. Since i dont want to treat my neighbors with free internet, does anyone have any tips for me?
(it is set to Best performance... +i'm sure i enter the right key...)
Thanx
The same over here... I found out, that some of cooked ROMs had this problem, but official worked. Before I couldn't connect via WPA2-PSK AES, all other encryptions worked. Until now... I tried to flash official ROM and RADIO, but it doesn't work anymore. I'm pretty sure it must be hardware problem. I need to send my Diamond to get fixed, but... The closest repair centre is in Prague (GSMobile)
!!!!!!!!!!!!!BUT BE AWARE!!!!!!!!!!!
I owned previously Qtek8310. After I send them my Qtek to replace the joystick, it came back with broken motherboard... This repeated 3 times and everytime they broke something else. I've got my Qtek8310 back as a total crap, destroyed and scratched... I called and send a claim to HTC Europe in London, but nothing happened since then. I don't believe them anymore. If you love your Diamond avoid to get it fixed in GSMobile!

Change WiFi scanning duration??

I saw a thread about change the duration for WiFi scanning when not connected to WiFi. I know it scans every 30 seconds to see what networks are available for use, i think this will have a huge impact on battery for user that want to keep WiFi enabled all day, which is what i would like to do if there is a fix rather then turning it on when i get home off when on the train and on again when at work and off on the train and on at home
I know draky ROM has this set to like 2 minutes, so is there a way we can change it on Doc 9.6.6 speedmod K13C??
EDIT:
just went in the WiFi setting even after connecting to my home network with full bars and everything works fast, it still seems to scan for networks every 5 seconds. Is there a way to disable the scans? It should only scan when not connected to a network and continue after a network is connected.
jebise101 said:
I saw a thread about change the duration for WiFi scanning when not connected to WiFi. I know it scans every 30 seconds to see what networks are available for use, i think this will have a huge impact on battery for user that want to keep WiFi enabled all day, which is what i would like to do if there is a fix rather then turning it on when i get home off when on the train and on again when at work and off on the train and on at home
I know draky ROM has this set to like 2 minutes, so is there a way we can change it on Doc 9.6.6 speedmod K13C??
EDIT:
just went in the WiFi setting even after connecting to my home network with full bars and everything works fast, it still seems to scan for networks every 5 seconds. Is there a way to disable the scans? It should only scan when not connected to a network and continue after a network is connected.
Click to expand...
Click to collapse
Not sure if its clear- Your phone will not scan for WIFI networks if its connected to a WIFI network already. It is not possible to scan while connected unless you explicitly go to WIFI settings and check there- then the phone will scan for you because you are asking it to scan.
On the other hand, you can modify the WIFI ON time using this thread http://forum.xda-developers.com/showthread.php?t=774507&highlight=wifi+timeout
Hope this helps.
No im in the wifi settings and am for sure connected to my home network and i can see the scanning and the circle come up every 5 seconds. So it is scanning every 5 seconds even after connecting, i think it maybe a bug coz your right there is no reason for scanning to occur when already connected.
I'm not talking about the wifi sleep policy. In darky's ROm he has scanning set to 2 minutes so it will scan for networks every 2 minutes when its not connected to a network, for me i would like to change that to 15 - 30 minutes. I don't need it to connect right away when i get home or at work and find it stupid that it scans every 5 seconds for a network. If i really want wifi that badly i will do a manual scan and connect.
it will always refresh more frequently in the settings to let you know what is available to connect to... as soon as you close settings it will refresh less often.
i highly recommend juice defender... it will automatically turn off your wifi when disconnected for a while and connect it again later on. im pritty sure it checks when u turn the screen on. there are other settings and widgets that come with to control your 3g when its not needed to save battery
Haviic said:
it will always refresh more frequently in the settings to let you know what is available to connect to... as soon as you close settings it will refresh less often.
i highly recommend juice defender... it will automatically turn off your wifi when disconnected for a while and connect it again later on. im pritty sure it checks when u turn the screen on. there are other settings and widgets that come with to control your 3g when its not needed to save battery
Click to expand...
Click to collapse
Pls help, my TF101 is one day old, it was connected to my work wifi network that my X10 is connected to.
I mistakenly pressed on "forget network" and now it just scans but cant find the network. pls help me
khakhi said:
Pls help, my TF101 is one day old, it was connected to my work wifi network that my X10 is connected to.
I mistakenly pressed on "forget network" and now it just scans but cant find the network. pls help me
Click to expand...
Click to collapse
Maybe your work network doesn't broadcast ssid? You have to configure the connection manually if that is the case.
Sent from my GT-I9000 using Tapatalk
Herman76 said:
Maybe your work network doesn't broadcast ssid? You have to configure the connection manually if that is the case.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I have tried but still nothing...

How to Schedule Auto Sync when device is sleeping and Wifi Off ?

I have been looking for internet all these days, everywhere to autosync my device when device is sleeping and wifi is off but couldnt find any working solution as yet.
Tasker should turn on wifi, auto sync then turn auto sync off and wifi. I tried all that I could, but not working.
Anyone can help me with this over here ?
I do have a working autosync profile but for me in order to get it to work, I needed synker and secure settings, because Taskers WiFi action does not always work. If you would like me to share it with you, let me know.
It also takes other things into account as well.
I do have secure settings already. Do share how you do it given your device is sleeping and even WiFi is turned off
OK you can download my profile here, since it would be better, rather than explaining it.
https://drive.google.com/file/d/0B8M8tLEXhDNZQU9XMkV2Qm1RREk/view?usp=drivesdk
I need synker with this ?
Thats correct. But you can try taskers sync option.
Hi, I tried this profile, unfortunately its turning on my data when I am home and Wifi is available. Though I am not sure if its turning on my Wifi while its turned off, I would want to ensure my data stays off. What are the changes I need to make ?
If you wish to remove the mobile data aspect of it altogether you will need to delete, all actions from 9 to 15, then add stop and add end if at then end of the task.
Also it does check to see if wifi is off first and if it is, it will switch it on.
My WiFi is on, but I ensure when screen is off, Wifi stays disabled. And for some reason its not turning back the WiFi when screen is Off. Dont know why
Unfortunately I am in the same boat at the moment, and I have not found anything to resolve this.
I also started my own thread some time ago about it, but I haven't had anyone give me an answer to solve it nor suggest what could cause it.
@ProudRed
UPDATE: I think I might know what the problem is, I have added wake device command at the beginning of my task,via plugin called secure settings > actions > wake device. I will find out tomorrow if this actually works.
I can confirm that adding the plugin > secure settings > actions > Wake device, solves the problem for me. Apparently you shouldn't need this if you adhere to this page http://tasker.dinglisch.net/userguide/en/androidpowermanagement.html
But for some reason it still does not work for me even if I whitelist tasker and it's plugins from 3rd party battery saving apps like amplify or powernap.
The issue I am having is with connecting the wifi, its getting connected but gets disconnected after 5-10 seconds. I have even tried ensuring that screen keeps on for 2 minutes, even after that Wifi is getting disconnected. Can I have an working profile from you without the mobile data part ? May be I am doing something wrong.

WiFi keeps turning off during sleep

Running any Marshmallow rom on this phone always turns the wifi off after about 30 seconds of screen-off time. This is incredibly frustrating because it breaks any app I have running in the background that uses wifi. For example netflix on chromecast always loses it's connection and I cant control my chromecast because the wifi disconnected. It's also needlessly using cellular data while asleep.
I have checked all the wifi options and theyre all set correctly. There is a whole 10 pages of complaints about this on a simple google search with no real solution provided. You guys have any ideas?

Categories

Resources