When the adapter is plugged in the power profile changes to run the CPU and such harder. The laptop does need repair but to give you time to arrange that use the Power settings that you find on battery to set the ones that it uses while on AC.

This is not an offer to teach how to use the Power applet in Windows. Just what I would do to get by until the machine is repaired.