You should try leaving the laptop charging for some hours while its completely turned off. If the problem still persists after that, try removing the battery and see if all the contact points are fine. after that try the previous test again.
If that doesn't work then your battery is probably dead.
Hope this helps!