Thanks to any and all attempts to help. I searched forum and found no other problems like this. My iPhone4 normally works fine. Sometimes, but not always, it'll just stop charging while plugged in. It'll also stop 3G and say searching, but the wifi still works. It's never turned off while plugged in. I've tried different wall chargers and usb to pc cords. Sometimes this happens, other times not and it fully charges fine. Once this happens, when I unplug the phone it shuts right off. Usually takes a while to turn back on too. The odd time the phone will just up and shut itself off when it's been just unplugged and working fine. There is nothing in the iPhone diagnostics that points to a hardware problem from what I can see. I have tried: restoring from backup, restoring from backup on a different computer, reinstalling itunes, deleting apps, wiping the phone and starting over from fresh. The phone never used to do this and is of course beyond warranty. Apple geniuses have no clue. Do any of you?