Hello and welcome to JustAnswer, I look forward to assisting you today. What is the make and model of the laptop please?
Okay thank you. What you see is an indication the battery is failing. If you have had it for eight years, that is pretty good for a battery of that type to last that long.
It is not the charger, just the battery wearing out. If you check this LINK, you can order a replacement.
You’re very welcome. It was a pleasure working with you!