hrmmm. have u flashed a custum rom with cwm
if not, do that even if its stock or non rooted or any rom.
or just flash cwm. thats all u need for this.
once u get that
charge battery to full with phone on.
now turn it off.
un plug
plugin let it hit 100%
repeat the last two steps three more times.
now with it still pluged in. hold vol down, home, and power [if u see download mode pull batt and use vol up, sorry i cant remeber which it is]
now go to advanced, now wipe battery stats, u dont need a backup this wont mess with anything like that. but u can to help u feel safe.
now once states r wiped, press back untill u see reboot system and click that [use power to select and cammera to navigate btw]
now once u see ur lock screen unplug ur phone.
let it die compleatly. then turn it back on and let it die one more time.
this is important if u accadently plug in. start over.
now charge to 100% again
should fix problem
if not its hardware for sure.
Sent from my SGH-T889