It's not good for a laptop to be plugged in at night. Although the vast majority of notebook products on the market are equipped with a power management chip, it will automatically disconnect and charge after full power, and there will be no \"overcharge\
Therefore, in order to protect the battery, it is best not to plug in the power supply at night while sleeping.