Don’t keep your laptop plugged in 24/7.
Technically, you can’t overcharge a laptop battery because modern models use lithium-ion batteries. However, the microcontroller that keeps the battery from overcharging can be damaged. In this case, a nonstop power charge will overheat the battery.