if is a dell or HP, maybe the charger is the problem, dell chargers have an ID pin so they know if the original charger is used or not, if an original charger is not detected, the battery doesnt charge and the laptop sometimes adapts to less power and lowers performance as a result.
of course it can be also the battery that is wrong on top of that.