That sounds like it's either a battery problem or maybe a software issue.
Let the battery reach 0% then charge your battery up to 100% without break, then let it fully discharge, if didn't work:
If your device is on warranty send it back right away, otherwise I'd recommend you to replace the battery.