It is not a software problem.
It is the battery that moves and breaks contact with the connector.:wink:
Try this. Turn the phone on. Hold it in one hand then Tap the side of the phone into you other hand. Rotate the phone until it shuts off.
For me this problem just started about 2 weeks ago...