You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Does Wi-Fi turn off when locked

If I leave wi-fi connected, then lock my phone, does the iphone 4 automatically turn off for you to save the battery? I think it does I just needed a confirmation . thanks

HP, Windows XP, iPhone 4

Posted on Aug 29, 2010 1:35 PM

Reply
58 replies

Nov 30, 2010 10:11 PM in response to Iskor12

Hi Iskor12, I tried what you suggested. What I am doing in my sample application is I an sending a UDP packet every 6 minutes and then going to sleep using usleep function of C. In this scenario my device is not listed in the router's connection list after some time around 5 to 6 minutes but still my UDP packets are going. That is it is still having connection to wifi router, otherwise how the iPhone can send the UDP packet. I checked the packets on wireshark on the host on which my iPhone is sending the packets. So I am not getting the perfect answer, whether iPhone turns off wifi after some time or not.

Dec 27, 2010 7:50 PM in response to Guybrush-Threepwood

Beautiful! After an hour of Googling this solved my problem. I didn't realise a data connection was needed for certain functions of the phone (MMS, etc.) so I disabled it thinking it would save battery life. Turns out it did the opposite as WiFi continued to stay connected even when it went to sleep.

Thanks!
OD

Guybrush-Threepwood wrote:
In 4.0 and 4.0.1 the wifi was persistent on the iphone.

In 4.0.2 they changed it to disconnect after being in sleep for 10 seconds.

However, if your data connection is turned off in the settings the wifi will remain on when in sleep.

This was confirmed by a member of Applecare.

Jun 5, 2011 9:08 AM in response to TechFrenzy

What I notice on my iPhone 4 is that wifi is off when the screen is locked. If I try to facetime to my phone from my wife's ipod touch, then my iPhone doesn't ring at all unless I wake it and the screen is on. I think that this is a problem. If I try the other way and facetime from the phone to the touch, that works fine. When the touch screen is off the touch still "rings".

Jun 10, 2011 12:43 AM in response to TechFrenzy

I had a battery draining problem after i had add another e-mail account so i'd put fetching off, but it deedn't seem to put off wifi at first on lock. only after i'd seen there's an advanced option that goes with fetch new data the problem was solved



if you'd like to save battery, and auto turn wifi off when locked:

(BTW) I'm running ios 4.2.1 on ipod touch 2g, couldn't tell about whether this works on iphone



Settings --> Mail, Contacts, Calendars --> Fetch New Data


turn Push Off --> set Fetch to manually (applications will go through fetching data only when opened or manually updated, NOT on a timely basis)


scroll down and press Advanced


(make sure all accounts are set to Manual, if one is on Fetch, Wifi will be ON all the time and drain your battery anyway)

Nov 23, 2011 1:31 AM in response to erijkgabriel

Brilliant! Thanks erijkgabriel. Clicking through to the Advanced screen reveals the culprit. No matter that you have Push "Off" and that you have Fetch "Ticked" as Manual, while any mail account is set to "Fetch" status it will force the phone to attempt to keep a connection active even while in sleep. (That is, if Data is Off, and have wifi switched to On.) Seems like an OS error to me. Setting Fetch to Manual should disable any associated tasks within the phone.

Dec 27, 2011 8:24 AM in response to CassetteWalkman

I have an iPhone 4S with iOS 5.0.1, and need to keep 3G off to save battery, so I keep my wifi on.

I've been doing a simple ping and realized that is not persistent, but it also wont stay off al the time.


The behavior is very random:


With the phone active Wifi is active (obvious)

When locked it maintains the wifi active for 20 secs

Wifi goes off for 20 secs

Wifi goes on for 20 secs

Wifi goes off for 20 secs

Wifi goes on for 20 secs

and keeps repeating that behavior...

Sometimes the cicles are longer or shorter than 20 secs, I've seen 5 secs cicles and 1 minute cicles, I really would like to know what services are waking up the wifi, or what this cicles depend on.


Hope this helps.

Mar 3, 2012 10:25 AM in response to luis144

luis144 wrote:


I have an iPhone 4S with iOS 5.0.1, and need to keep 3G off to save battery, so I keep my wifi on.

I've been doing a simple ping and realized that is not persistent, but it also wont stay off al the time.


The behavior is very random:


With the phone active Wifi is active (obvious)

When locked it maintains the wifi active for 20 secs

Wifi goes off for 20 secs

Wifi goes on for 20 secs

Wifi goes off for 20 secs

Wifi goes on for 20 secs

and keeps repeating that behavior...

Sometimes the cicles are longer or shorter than 20 secs, I've seen 5 secs cicles and 1 minute cicles, I really would like to know what services are waking up the wifi, or what this cicles depend on.


Hope this helps.

That does not match my testing. I can monitor my wireless router activity on my laptop, and the IP used by my iPhone 4S goes inactive after 10-20 seconds after putting it in locked mode, and doesn't come back on until the phone is unlocked. This is a problem because any activity that needs to take place will then go to 3G, running up the data usage. It appears that the phone contacts someone twice a day and transmits something, on the order of up to 3MB each time. Assuming maximum transmissions twice a day for 31 days, I would be using up to 186 meg/month! Now I have an unlimited data plan, but my wife, and her sister are on my bill, and they have only 200MB data plans. I am quite curious what is being sent, and to whom, since I have all the 'system services' things turned OFF, and also diagnostics and data off. I am sure ATT loves this!

Running IOS 5.01.

Mar 3, 2012 10:29 AM in response to erijkgabriel

erijkgabriel wrote:


I had a battery draining problem after i had add another e-mail account so i'd put fetching off, but it deedn't seem to put off wifi at first on lock. only after i'd seen there's an advanced option that goes with fetch new data the problem was solved



if you'd like to save battery, and auto turn wifi off when locked:

(BTW) I'm running ios 4.2.1 on ipod touch 2g, couldn't tell about whether this works on iphone



Settings --> Mail, Contacts, Calendars --> Fetch New Data


turn Push Off --> set Fetch to manually (applications will go through fetching data only when opened or manually updated, NOT on a timely basis)


scroll down and press Advanced


(make sure all accounts are set to Manual, if one is on Fetch, Wifi will be ON all the time and drain your battery anyway)

I had calendars set to fetch, but wi-fi was going off anyway. iPhone 4S with IOS 5.01. Turned fetch off anyway.

Mar 3, 2012 10:31 AM in response to Ghostrider501

Ghostrider501 wrote:


wifi stays connected on the iPhone 4 when in sleep mode.

On my iphone4. Wifi switched off, 10hours later, mostly sleep mode, maybe 2or3 text sent, battery was down from 100% to 90%


Wifi switched on, 2hours later, in sleep mode it went from 90% to 79%

So for me, it stay on, which I find is very wrong and a major battery drain.

How are you determining that wi-fi is actually active?

Jun 8, 2012 6:24 AM in response to TechFrenzy

this is true for all apple products all iphones ipods and ipads but for iphones if you are somewhere where you know you have a good wi-fi connection you can go into your settings and turn off cellular data and it will stay connected to wi-fi even when it goes into sleep mode but remember when you leave the wi-fi spot you will have to go back into settings and turn cellular data back on because it wont do it automatically

Does Wi-Fi turn off when locked

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.