HTC G2 Phone randomly turns off w fully charged battery on Gingerbread 2.3
There is a known hardware issue with the HTC G2. Mine used to be hung at a black screen randomly when I tried to turn the screen on and unlock it. If your warranty hasn't already expired, start the process to get a replacement. The replacement I got hasn't experienced any of those issues.