Windows laptop keeps restarting when plugged in