The battery can’t be overcharged.
Leaving your box plugged in after fully charged doesn’t overcharge or damage the battery.
These batteries charge hundreds of times without affecting battery life.

Lithium-ion batteries feature an internal circuit that stops the charging process when the battery is fully charged.
A lithium-ion battery shouldn’t get warm while it’s in the charger.
If it does, remove it.
The battery may be defective.
Nickel-Cadmium and Nickel Metal Hydride Batteries
Older laptops use nickel-cadmium and nickel-metal hydride batteries.
These batteries require more maintenance than lithium-ion batteries.
NiCad and NiMH batteries must be fully discharged and then fully recharged once a month for optimal battery life.
Leaving these types of batteries plugged in after being fully charged doesn’t affect the battery life appreciably.
To check the health of the battery, open theApple menuand go toSystem prefs>Battery.
Depending on your prefs, the computer will lower the screen brightness.
The controls for this are in Windows 11’sSettings>System>Power & battery>Battery saver.
Windows 10’s isSettings>System>Battery Saver.
you might also make changes to the Power Plan screen to preserve battery life.
Power Plans set the number of minutes of inactivity that elapse before the laptop dims or powers down.
Lower numbers reduce battery use.
If you don’t need the internet for a while,enable Airplane Modeto turn off Wi-Fi and Bluetooth.
Here are some ideas: