If your iPod or iPad is disconnecting when the screen locks, it might be because the wifi is being turned off. Please try the following steps and see if it helps:
HERE’S THE SOLUTION:
I came accross this issue all over the net, with no real solution. So I did some testing and this is what I found.
(An update to iOS 6 was released today..unfortunately that still didn’t fix the problem..for me anyway).
From what I understand:
This new ‘feature’ of iOS6 dissables the wifi radio when an iOS device has been in sleep for abit, but it also somehow turns the iOS device’s wifi radio back on when it needs to (i.e. when a push email/ notification/ imessage is coming through) even when the device is in sleep. This is when the feature works. But there is a buggy loophole that arrises which causes the wifi radio to not automatically ‘re-engage’ when it should.
If you find that you only get emails/notificaitons and imessages when you wake up your ios device, and not as they come in, it’s because, at some point, you have done a series of actions that result in the wireless radio not knowing how to turn itself on when in sleep.
This is how you fix it
1) Turn wifi on (doesn’t matter if you connect to a wifi network now or later, but the wifi toggle must be on). If your ios device supports mobile data, turn it off for now.
2) Turn off the device (by keeping the sleep button pressed and then swiping)
3) Turn it on
4) After the home screen loads, reset it (hold the home and sleep buttons down and keep holding until you see the apple logo)
Now, when your device is in sleep, the wifi radio will re-engage when it needs to.
People with 3G always on won’t experience this problem because when an iPad/ iPhone is in sleep (and hence, the wifi radio is turned off), having the mobile/cellular data on somehow wakes up the wifi radio if messages and stuff are coming in.
(I believe in Apple. It would be just plain stupid to introduce a feature that completely dissables wifi when in sleep, just to save battery..this isn’t the feature people, this is a bug of an actually great feature. Attempting to save battery life by only having the wireless radio turn itself off when in sleep (and not having it turn itself back on when it needs to) is creating a problem in the attempts to get rid of a reduced battery life problem. Have some faith in apple! Haha. This is not going backwards..this is going forward, with style…and a bug.)
Below are the series of actions (if you’re curious) that you have done at some point in time that have caused the wifi radio to forget to reengage when in sleep: (so there’s a set of actions to induce the bug, and to hide it)
Turn wifi off
Turn off device
Turn on device
Turn on wifi
Now you won’t get push emails and stuff when your device is sleeping.