That's either the battery (try a new one) or the electronics inside the laptop (try another laptop or see if repair is cheaper). How old is the laptop, how old is the battery?

Kees