[Q] WiFi with screen off - Focus General

I've noticed when I unlock my phone that the WiFi...like...animates and reconnects.
Does this mean if my screen is off but things like Email and/or People are syncing, that its not using the WiFi to do it anymore?

Related

Wireless disconnect upon screen lock?

Hey guys,
I recently just got my g1 dev, everything's great, except I noticed that whenever the screen is locked, the wireless connection gets disconnected after 1 or 2 minutes and reconnected when I unlock or press any buttons on the phone.
How can I resolve this issue? Anyone else having the same problem also?
Xeone said:
Hey guys,
I recently just got my g1 dev, everything's great, except I noticed that whenever the screen is locked, the wireless connection gets disconnected after 1 or 2 minutes and reconnected when I unlock or press any buttons on the phone.
How can I resolve this issue? Anyone else having the same problem also?
Click to expand...
Click to collapse
Why would you want to? This saves the battery
It would be useful for IM clients or e-mail notification applications.
Xeone said:
It would be useful for IM clients or e-mail notification applications.
Click to expand...
Click to collapse
I've noticed the same thing because I was chatting on IM with a friend over a WI-FI connection but didn't have reception (3G, EDGE or other) so I kept getting logged off when my screen timed out.
Unfortunately, I believe that all you can do is go to Settings>Sound&Display>Screen Timeout (at the bottom under Display settings) and set to "Never Timeout". Or you can download an app like Toggle Settings from the Market to make it easier.
This will kill your battery a lot faster though but at least you won't have to keep logging back in. Maybe keep your phone on the charger and dim your display?
Hey, thanks for the reply!
Yup... I think that's all can be done right now to maintain a connection.
Hopefully there will be an option in the future

WiFi Disconnect Policy / Lock Screen

Being new to Android, I'm trying to figure out the WiFi sleep policy setting and how the lock screen affects things.
My issue is that if I leave the tablet unplugged overnight, with the screen off, I lose about 10% power. The Battery Use History Details screen shows that WiFi is on consistently and it seems to be awake when it shouldn't be.
So here are my questions:
1. Does disabling the lock screen cause the device to stay awake when the screen is off? It seems like there is a correlation between when I disabled the lock screen and it staying awake consistently, but it might have been an app I installed.
2. If I did not activate the device on the cellular network, and disabled mobile data, is there a WiFi disconnect policy that will turn on WiFi only to poll once in a while for mail and other updates but not stay on consistently?
I think I might be running into one of the big differences between Android and iOS here. iOS' push updates allows the device to use data collections very efficiently to get updates from the network, because it only has to poll one data source to get updates for all apps who require it. In May 2010, Google introduced Cloud to Device Messaging for Android, but how many apps use it? And does the device have a WiFi policy that only lets apps that use C2DM do their updates and then shut the connection off?
rlabarca said:
Being new to Android, I'm trying to figure out the WiFi sleep policy setting and how the lock screen affects things.
My issue is that if I leave the tablet unplugged overnight, with the screen off, I lose about 10% power. The Battery Use History Details screen shows that WiFi is on consistently and it seems to be awake when it shouldn't be.
So here are my questions:
1. Does disabling the lock screen cause the device to stay awake when the screen is off? It seems like there is a correlation between when I disabled the lock screen and it staying awake consistently, but it might have been an app I installed.
2. If I did not activate the device on the cellular network, and disabled mobile data, is there a WiFi disconnect policy that will turn on WiFi only to poll once in a while for mail and other updates but not stay on consistently?
I think I might be running into one of the big differences between Android and iOS here. iOS' push updates allows the device to use data collections very efficiently to get updates from the network, because it only has to poll one data source to get updates for all apps who require it. In May 2010, Google introduced Cloud to Device Messaging for Android, but how many apps use it? And does the device have a WiFi policy that only lets apps that use C2DM do their updates and then shut the connection off?
Click to expand...
Click to collapse
By default your wifi connection is set to never shut off. Settings/Wireless & networks/wifi settings/wifi disconnect policy. Change this to when screen is off.
Thanks, but I still want to be able to turn on my device and see new messages quickly. I assume it won't check for new mail at all with the WiFi off.
rlabarca said:
Thanks, but I still want to be able to turn on my device and see new messages quickly. I assume it won't check for new mail at all with the WiFi off.
Click to expand...
Click to collapse
I don't think you can do this with a stock android os. Its either on or off. Now you can download apps for phones, no idea if they work for tablet yet. Think one is called tasker and another juice defender. Basically they tell the tablet when it can and can't use data.

[Q] Wi-fi doesn't turn off

The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect (and/or override your settings). This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Same issue here, have to get a widget to turn of the wifi. How can they oversee such simple things?
Also sometimes the power button just randomly lights up when its in sleep mode, it's a small light but very anoying if it's dark in the room (e.a on your bed stand).
Okay - Good to hear it's not just me then. But not so good in general.
If you're reading this thread, try it out. Set the wi-fi to disabled when the screen is off then email yourself from another computer and wait for the notification on your tablet. Or get a friend to email you a minute or so after you've turned your screen off (with wi-fi disabled on screen off)
You can reset the policy after.
If you get the notification then your wifi didn't disable while the screen is off like the setting is supposed to do.
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off. I just used ping to test it. In some cases it took a while but did turn off. My battery doesn't really go down at all when in standby with wifi off when screen off.
sgdossey said:
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off.
Click to expand...
Click to collapse
Updated OP
gammaRascal said:
I've set the wi-fi to disable itself when the screen goes off but unless I disable sync and background data, the wi-fi still stays on when the screen is off and I can hear my email/IM notifications still.
Anyone else have this issue?
I mean, I think it's an issue. If you set the policy to disable wi-fi when the screen is off in the OS it should override any apps - I shouldn't THEN have to go and disable sync and background data as well otherwise whats the point?
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect. This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Click to expand...
Click to collapse
Hi, I just ran these tests and unfortunately I can't reproduce your results.
When I disable wifi, I don't have any data connection.
As for wifi sleep, I don't know if it's a bug or intentional but it seems to put wifi into an extremely low power mode, but not necessarily disable it or turn it off when using the sleep policy.
As someone mentioned somewhere in this thread, it looks like wifi has some sort of 'cooldown' period until it turns the chip and process off completely.
I have used Wifi sleep and played Pandora and had Pandora play for hours until it finally disconnected.
The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.

Android 2.3.6 and previous versions block wifi when screen off

Hi.
In all versions of Gingerbread and Froyo if I'm using wifi and the screen goes off after one or two minutes the wifi blocks.
I don't recieve emails, whatsapp, etc. Pings from PC returns time exceeded.
When I unlock the phone recieve all data (whatsapp, emails,etc) and pings ok.
Wifi policy is set to never.
I tried several modems with same results
Must be something else interfering with it.
I am running JW1 (2.3.6) and Wi-fi stays enabled when the screen is off.
Same thing occurred when I was running Froyo 2.2.
My wi-fi policy is also set to Never.
Check if your wifi is turing off for a few seconds even when the screen is on. It happened to me quite often.
n07ba01 said:
Check if your wifi is turing off for a few seconds even when the screen is on. It happened to me quite often.
Click to expand...
Click to collapse
Sometimes shows 2g icon with the wifi on. I have to deactivate and activate wifi.

Wifi option set to NEVER be on during sleep/lock mode.. but still on?

We just picked up a Nexus yesterday and I noticed that when I turned the Wifi option on, to turn the wifi off when the screen is locked, it appears it is not doing that. I would still receive email (Gmail) and other app (Facebook) notifications when the screen was locked and if I would press the power button to turn the screen on, I could see the Wifi symbol as if Wifi was still going. I do not have many apps on at all, so I do not believe there is an app causing a problem when it comes to ignoring my settings. Has anyone else had this problem? I have seen some people have problems with Wifi turning off when this setting was changed to keep on always, but never the other way around. Should I consider exchanging for another? I know that I can simply use the power widget to turn it off before locking, but I always found this particular Wifi setting to be most useful.
If I need to provide further information, simply let me know. I appreciate the help!
I don't think that is a hardware problem, must be in the software, no need for exchanging
Are you setting the option in the advanced Wifi settings option? Mine was the same until I set it via this option. It still looks like the wifi is on when viewing the battery usage screen, but I don't receive email notifications and the wifi definitely wakes up when the device does.
eager27 said:
Are you setting the option in the advanced Wifi settings option? Mine was the same until I set it via this option. It still looks like the wifi is on when viewing the battery usage screen, but I don't receive email notifications and the wifi definitely wakes up when the device does.
Click to expand...
Click to collapse
Yes I am setting it through the advanced Wifi options. I noticed within the last hour that it was not pushing notifications and when I pressed the power button to unlock, it showed the Wifi was not on, and once I unlocked the screen it reconnected.. It would make sense if it were simply a problem within the software.
I have the same problem but the other way around, i.e. while the device is at the lock screen the wifi does appear to disconnect, and once I return to it and unlock it, it the turns of the wifi and reconnects.
Does anyone know where this setting is and how to alter it... one way or the other???
---------- Post added at 01:01 PM ---------- Previous post was at 12:29 PM ----------
my noob question question above is invalid, sorry please ignore me, i'm going to hide in a hole.
eager27 said:
Are you setting the option in the advanced Wifi settings option? Mine was the same until I set it via this option. It still looks like the wifi is on when viewing the battery usage screen, but I don't receive email notifications and the wifi definitely wakes up when the device does.
Click to expand...
Click to collapse
So you're saying the battery chart is inaccurate?
Sent from my Nexus 7 using xda app-developers app

Categories

Resources