What's the WiFi doing - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Archos 101 IT + UrukDroid 1.6.4
When the tablet is off (sleeping), my local DHCP server gets DHCP requests from the tablet every minute. The power led briefly lits when it wakes up.
When I switch the tablet on, the first thing it does is drop the WiFi connection and re-establishes it.
This seems higly illogical. Also, when I have networking applications running when I switch the tablet off, these apps crash or malfunction when I switch it on again.
Did I overlook a specific setting to avoid this?

I think that when you turn it on, the WiFi connection has already been dropped, but the indicator hasn't been updated yet. It then notices that the connection is down, updates the indicator, and re-connects. I'm not sure about the DHCP requests every minute. You can check in the System Monitor's Alarms tab what's waking your device that often; my guess is that the system figures it'll try to reconnect now that it's woken up, but it doesn't stay awake long enough to establish a useful connection.
I don't think there's really anything you can do to avoid this in general; it's just the way Android power management works. What you can do if you really want is to install an application that will hold a partial wake lock for you. As long as the wake lock is held, the device will never completely go to sleep; the screen will turn off (for a partial wake lock), but the network connection won't be dropped. Of course, this will consume much more power than letting your device sleep normally. I use this when I know I'm going to be intermittently using my tablet for a while (like when I'm cooking) and don't want to keep waiting for the network connection to come back up.

jfmcbrayer said:
I think that when you turn it on, the WiFi connection has already been dropped, but the indicator hasn't been updated yet. It then notices that the connection is down, updates the indicator, and re-connects.
Click to expand...
Click to collapse
That could very well be the case.
I'm not sure about the DHCP requests every minute. You can check in the System Monitor's Alarms tab what's waking your device that often
Click to expand...
Click to collapse
Whenever I switch it on, there's always an alarm scheduled for Android System for the next minute.

Related

[Q] Wifi connection gets disabled on sleep...

I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
kmclaren said:
I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
Click to expand...
Click to collapse
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Still getting Wifi disabled...
MasterColdSoul said:
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Click to expand...
Click to collapse
Have the sleep policy set at never and this does not change anything. From what I understand this setting will disconnect wifi when the device goes to sleep. In my case the connection is not disconnected but rather completely disabled. So it seems that there is some other thing disabling the connection.
So, to give a bit more info here, I have installed wifi keep alive to try and save the connection. This keeps the wifi from being disabled when it is plugged in, but it still gets disabled when it sleeps and is also unplugged. (I.e. on battery and sleeping)
So, I am starting to think that the setting that fixes the problem while pluggedin is settings / applications / development / stay awake. I have this turned on and it seems that with stay awake and the wifi keep alive I am good when plugged in.
So, does anyone have thoughts for a similar setting when on battery power?
I can't help to much with battery power since I almost always have mine plugged in.
It's odd that not helping you, once I made that chance I stopped having my Wifi turn itself off (not sleep, off, and the tablet would need to be reset a lot).
Sorry that wasn't much help.
Having this problem as well. Anyone know how to fix?
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
"WiFi stay alive" will help you!
Mantara said:
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
Click to expand...
Click to collapse
can you give some info as to how one would go about doing this?
For what its worth, might help to set a fixed IP address. I often got a problem with Wifi not being able to reconnect because it got stuck on "getting an IP address" and failed to do so. I seem to remember it disabled the connexion to that AP after too many tries on my Nexus One.
On my g tablet, I was having what seemed to be the same problem, so I did the same thing and it seems stable since. Granted I didn't toy with it as much as I did on the N1, but I wouldn't be supprised if it were a general Android problem.
Anyways, its free to try.
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Either way how can I keep the wifi signal on so when i wake my g tab up the wifi is ready to go and does not have to reconnect?
anyone have anything to help with this?
I am not sure, but it seems to me that downloaded apps can play with wifi this way, as long as they have rights to "access internet, modify and bla-bla-bla".
I am having same problem after sleep. And it was not present from the beginning. It may starts after I upload some app. I will play with this after coming back home.
yes please let us know thank you!
wasserkapf said:
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Click to expand...
Click to collapse
When my tablet is plugged in and it goes to sleep, the Wifi also disconnects, so I don't think this is a feature any more than the screen angle issue is a "privacy feature." I've never had an Android device that powered down connectivity when the screen goes off, that totally negates the notification features. You basically have a comatose tablet after a few minutes of the screen being off.
I don't think the Xoom or Galaxy Tab have this problem, so there's definitely an issue. Sadly, I might be sending mine back to TigerDirect as faulty because of this.
I have this problem too. As others have said, the problem isnt that the wifi turns off when the tablet sleeps. The problem is the last connected access point gets disabled so when you wake, you have to go into settings and tell it to connect again.
In my case, it happens most of the time, but not always. My Android phone doesnt have this problem.
I did a factory reset, then used nvFlash to restore, and then did a fresh install of Vegan (thought it did the same on every other 2.2 ROM I tried). I didn't install any apps, and the problem still occurs. Tried using Wifi Fixer, and the problem still occurs (though on the bright side, it does reconnect about 10 seconds or so after waking).
I'm out of ideas. I hate to send this thing back because it's the most fun piece of tech I've had in years, but a comatose Android device is a dealbreaker Going to try a GB ROM, and then I give up.
I've got the same kind of issue. I lose my PSA key in my wireless settings every time and have to re-enter it.
I installed the Vegan GB ROM (along with pershoot's kernel), and the wifi stays on if you choose "Never" for wifi sleep (you have to hit the menu button and choose "Advanced" when you're in the wifi settings). Only problem is, the GB ROMs, while zippy, are a little raw right now, and my Launcher Pro GMail widget doesn't work
I'm going to try one of the 2.2 ROMs again today along with pershoot's Froyo kernel to see if it makes a difference.
Ok, YMMV, but I am using Calkukin's ROM with pershoot's kernel (was using Clemsyn's before), with wifi set to never sleep, and my wifi doesn't sleep any more. I left my phone and tab here at work while I went out for lunch (felt naked ...), and came back about 45 mins later, woke the tab, and wifi was still connected, without that "looks connected, oh the icon is now disconnected, oh it's back again!" bit.
I still receive notifications and email, and widgets update. Guess I'm keeping it

[Q] How to keep networking on?

I would like my gtablet to remain able to establish ssh connections
after the display turns off.
It appears even if I set the wifi preference to never go to sleep, once
the display turns off I cannot either ping or ssh into my gtablet?
So, I wonder if there is a way to do this.
(By the way, I assume that the wifi has power saving implemented
so just sitting around will actually not use much battery.)
I've noticed that when the screen goes off, adb even loses the tablet until you turn the screen back on. But I am having the same issues with Wifi, and setting it to never sleep in addition to installing a keep alive app doesn't seem to do much good. When the screen goes off for a couple of minutes, all connections seem to be lost.
It would be nice if there was some sort of solution to this.
yes, I can't get wifi to stay on. Basically, I want the tablet to stay
on but the screen to blank.
This is more important now that I have rsync installed and could
do automated data transfers or backups at scheduled times.
I am running Vegan 5.1.1 and am wondering this too, is it a vegan problem or gtab? Is there a dev that can make a kernal to stop this?
I am on a TnT ROM using Clemsyn's kernel, and I get the same problem, so it might be a device issue.
I'm trying out an app called Wifi Fixer -- free from the Marketplace (though I'll get the .99 cent donate version if this works). I left the tab display off and untouched for about 10 minutes just now, and wifi was still connected when I turned it back on. I'll let it sit for about 1/2 hour and see if it still works. If so, we might have a winner
In TNT (Lite), try Settings -- wireless -- Wi-Fi Settings -- Advanced Settings -- Wi-Fi Sleep Policy
wifi sleep policy is set so -- supposedly -- wifi never sleeps, but that did
not work for me (wifi was shut down when tablet goes to sleep - I wonder
what controls that - I would want display and system to have separate
sleep control ...)
But I found an app in market, wifi keepalive that seems to be working.
My tablet just turned off the display and I can still ssh, ping and rsync
successfully.
Maybe that is the solution.
I wonder how much power this will draw?
(I have a nokia n810 "mini-tablet" and even with wifi on (power saving
mode enabled) battery consumption is pretty minimal if wifi is not
actually in use. Does android use power saving mode in wifi?)
Well, I already had it set to never sleep. The Wifi Fixer seems to work though -- I let it sit for about 1/2 hour, and when I flipped it back on, the wifi was still connected.
Edit: Nevermind, that didn't work either. Sucks, I love this tablet, but if it's a dead fish when the screen is off for a few minutes, it's lost a good deal of usefulness to me.
albright said:
But I found an app in market, wifi keepalive that seems to be working.
Click to expand...
Click to collapse
That was the one I was using initially, but while it wouldn't drop the wifi connection upon turning off the screen, it would eventually drop it -- when I woke the tab back up, I'd have the wifi lost icon for a few seconds.
it would eventually drop it
Click to expand...
Click to collapse
yep, it looks like that happened here too ... maybe some other
app is resetting this; it lost my connection after a radiotime
app was playing for about half an hour with screen off
I hear that ubuntu might run on this - it would be great to
have a **real** operating system to fiddle with

[Q] After JB update, wifi always off in sleep

I like keeping my wifi on while my screen is asleep so that I can receive chat messages or e-mails without being at my computer. I never had this problem while running ICS on an unrooted TF201, but ever since I installed the upgrade to JB my wifi will always disconnect after the screen has been asleep for a few minutes. I've checked every setting I can think of. In the Wifi Advanced menu, I have it set so Wifi is always on, and in the ASUS customized setting I have Disconnect network during sleep to off. Under Power Saver I have Enable low battery settings off, set Low battery level to 0%, and even set Wifi OFF to off. Despite all of this, it seems like the tablet under JB goes into some sort of deep sleep and disconnects the wifi after about 5 minutes of inactivity.
I have noticed that this problem does not occur when the screen is on. I also have the dock, and set the screen to always on during meetings in the event that I don't need to enter any notes for a few minutes so I don't have to fool with any delays from screen wake .
Is there some setting I'm missing? Is it a hidden setting that I could access by rooting? Or am I dealing with something internal to the build that I can't change at all? This may not seem like a huge deal to most, but it has become one of my main uses for the tablet when I'm at home. I'm very disappointed with JB so far even though the wifi does feel more responsive on the Prime after the update (when it's not sleeping, of course!).
EDIT: I noticed this evening that the wifi turns off even when I'm running something that uses it while the screen is off. I was listening to Pandora, and about 5 minutes after the screen went off, my music stopped. When I turned the screen back on, I saw that the wifi had indeed become disconnected.
hey,
I have exactly the same problem with my tablet. I have checked every option, I did a factory reset several time, I have checked it on 2 different routers but it is still disconnecting the wife when it goes in the sleep modus. Did you or anyone else find a solution?

Bluetooth Always Discoverable, Wifi Never Sleeps - Not always the case

I have both of these setting turned on, but for some reason the bluetooth discoverability will dissapear every few hours for a few minutes, and the wifi seams to go to sleep after a certain amount of time (hours) after the screen is off. I imagine, particularly with the wifi that this might be done to conserve battery.
The reason I know this is that I use the phones bluetooth discoverability to determine whether or not I am at home or away, and trigger events accordingly through my home automation software. When the bluetooth mac address of my phone is not found to be present, a ping is sent through wifi as a fallback. However both are failing according to the logs. (not to mention all my lights and electonics turning off while watching a movie, or even worse the lights and electronics turning on at two in the morning as if I had just arrived home when actually I was asleep in bed)
I didn't have this problem with my OG EVO 4g, and so I am hoping there is a hidden setting or even maybe an app available that will hold these setting to do what they say, and not just use them as a suggestion. I understand the battery trade-off.
Edit: I am on a CM10 ROM, so I do not have smart sync
Well go to advanced in the WiFi and Bluetooth setting. And you'll see what to do when you get there
milli5410 said:
Well go to advanced in the WiFi and Bluetooth setting. And you'll see what to do when you get there
Click to expand...
Click to collapse
I already know what to do there (as is pointed out in the title of the topic), those are both enabled.

How do I turn on wifi automatically when I turn on the screen?

I decided to save a good amount of my battery by limiting the usage of wifi network connection only to the time I use my phone
so I downloaded and installed 3rd party app which allows me to control when it switches on/off and here's what I did.
connect to wifi when the screen is on
disconnect to wifi when the screen is off
it is this simple. and I expected it to function just as It should be
everything worked just fine.. or not.
I had to wait for like 5 seconds before it started to finish the wifi connection after I screened it on, which is not a good thing.
the purpose of setting all this is because I want to keep my wifi off when I dont actually use it like when surfing the web or watch streaming videos but at the same time I wanna sometimes turn the screen on and right back off only to momentarily turn the wifi on to get my notifications like emails or whatsapp messages which I will miss otherwise
so how can this be done? I want to press power button twice like double clicking mouse to get brief wifi connection so it performs the synchronization each time I do the job. if that turns the wifi off too fast so doesnt provide enough time for the wifi connection. then I can simply set the time wifi disconnected to 10 secs after I turn it off
so the main problem is how to make it turned on when the screen is on. almost simultaneously so I dont need to keep the screen on for a couple of seconds.
I eagerly need this function because I want to put my phone in the pocket and time to time double tap on the power button which Is very convenient to not miss all the notifications.
it doesnt matter when I seriously use the phone as I said ealrier, waiting for a few seconds doesn't hurt in that case.
thank you
p.s) I tested this to several phones and only 1 which I have doesnt let it. any solution?
apps, settings, rooting, custom roms, tasker, anything will do, except for buy new phone

Categories

Resources