avoid suspend if laptop is closed