Then a factory restore will fix it. The problem I often run into is that I have shown owners it working with a new battery or charger and they still think it's software. Batteries are mostly 300 cycle units that can easily wear out in 12 to 18 months so when I see a many year old laptop I suspect the usual parts.

But to be sure we factory restore the machine.