https://www.howtogeek.com/124715/should-i-leave-my-laptop-plugged-in-all-the-time/Don’t Worry About Overcharging Your Laptop’s Battery
There is a persistent myth that you can overcharge a laptop battery and, through that overcharging, damage the battery. There are many ways to decrease the lifespan of your battery (like leaving your poor laptop to roast in your car on a hot day), but overcharging isn’t one of them.
Even ancient laptops have built-in protection against overcharging and potential damage caused by packing too much energy into a battery that can’t hold it all. You can certainly damage a laptop with a cheap out-of-spec or damaged charger, but plugging it in with the original charger or a high-quality replacement won’t turn your battery into a lithium-ion fire bomb.
When your laptop battery reaches 100%, it stops charging, and it won’t resume charging until the battery level drops below 100% again. While this can lead to a pattern of the battery discharging slightly and then getting topped off again (which can degrade the battery over time), it won’t overcharge the battery and damage it.
Take Advantage of Laptop Smart Charging Features
Many modern laptops support smart charging features designed to protect the laptop’s battery and extend its life.