My phone shuts off on its own when not on a charger.
My i phone 3gs is only about 10mts old and it just powers off by itself. If it is on the charger it works ok. I dont know if the battery could be bad are could be out of place inside the phone.
Is this a good question?