The problem is probably your battery. I would like to think its damaged and it needs replacement.
However, to be very sure that this is a battery issue, and not a system one, do a soft reset and see if anything changes. Don't worry, soft resets do not clear data or delete the files you need on your phone. They're safe.
Whilst your phone is on: