Sounds like you may have been hit by the LG bootloop bug. That or your battery just plain died. The batteries in these phones are quite old now so that's entirely possible. Was the battery dead when the phone shut itself off? Was the phone hot at the time? Do you have a second battery you could try?