Battery has charge but dies

view story

http://androidforums.com – My phone is charged completely. After a couple minutes of being on battery power, it switches to 0% and shuts off. As soon as it does I can turn my phone on, which will indicate the 100% battery charge. I can stay in Clockworkmod all day, infact I've wiped everything, recovered from a restore point, and wiped all user data all on battery power. It seems it's only in the software that it's randomly getting a 0% reading from the battery. Anyone know of a fix for this? Thank you in advance. (General)