If you are taking this laptop on the go, unplug it.
If you are opening your laptop to take notes or reviewing any kind of lecture material, keep it plugged in.
You should never leave laptops plugged in overnight or while unattended for even a minute because heat damage can occur and fry circuits boards eventually. It can also overcharge the battery which will cause the individual cell curves to increase the chance that there’s leakage (to deal with increased pressure) or that pressure will escape (from too much space). Don’t charge outside of below 40 degrees Fahrenheit weather please please pray at all times for safety reasons.