Bad battery life on iPhone 3GS used as iPod Touch
Remove the SIM. That should solve your problem. It will complain about no SIM whenever it is restarted but apart from that will work fine. I presume you want the WiFi to remain functional.