Why does my phone only turn on when it's plugged in? My iPhone 4 doesn't turn on unless it's plugged in. When it is plugged in, it briefly shows the Apple logo and then shows my lock screen. Where it should say Verizon and show how much signal I have, it only says searching. It also says my percentage is at 100% but I know it's really somewhere around 30-40% because that's how much charge it had before it turned off on me. Also, when I try turning on the wifi it tells me that the wifi networks are not available, but I have the wifi working at home. What does this mean, or what should I do?
A common solution to this kind of problem is a complete restore (possibly in DFU mode). Before proceeding, make a backup of the entire content of your iPhone via iTunes or iCloud.
Then, download the latest firmware available via iTunes. Charge the battery entirely before the restore, just to be sure that the iPhone won't shut down during the process.
Proceed by putting the iPhone in DFU; let then iTunes do the rest. 
I suggest you to DO NOT restore your iPhone from backup after finishing. Test everything, including Wi-fi connection. Install an app that shows you the actual battery cycles. Maybe replacing the battery could do the trick. If possible, try to connect to different hotspot; if the iPhone could not connect, maybe another problem is in the antenna.
Let us know.