WIFI gets disconnected once the device sleeps
if you go in to Settings -> Wireless &amp; network Settings -> Wi-Fi Settins then press Menu -> Advanced you will see Wi-Fi Sleep Policy. Change that to Never and wi-fi will stay connected when the device goes to sleep.