Is battery knackered

Hi there , got a tecc battery in my vape was working fine then just stopped , got home plugged it in to charger and works but doesn’t when not plugged in , do I need new battery ?? Thx