You can plug out the cable from the laptop if you want to leave it overnight. Also, it is better of you just plugged out the battery from the laptop if you always use the laptop with the wall socket power supply, this can prolong the lifetime of the battery