The performance of an laptop can be affected by the battery and …
The AC power adapter should be changed? Only if not working. Shut the computer down, start up on battery, plug in the charger and see if the battery indicator shows the AC connection. If so, leave it for an hour and see if the charge increases for the battery. The laptop performance is affected by the battery or/and the AC power adapter?