When you Plugin the laptop, the Power Plan switches so, it can get into performance mode. It allows the laptop to use more resources and not worry about the battery. The opposite happens when you disconnect the power cord—Windows changes or switches to power-saving mode.