My laptop (a Lenovo Thinkpad W530 running Windows 7) regularly wakes from a sleep state in my bag, draining battery and overheating badly (even when I make a point to leave the fans unobstructed by its sleeve, and adjust power settings to automatically return it to sleep after a short interval). Inputting "powercfg -lastwake" in the terminal informs me that the wake is due to the the lid being opened. I assume this means that there's a problem with the lid's magnet sensor, but I'd rather not open up the casing and tinker with that. Is there any software solution for requiring a press of the power button to wake the computer from sleep / disabling the automatic wake on lid "opening"?

(Notes: I've tried going into the Device Manager to tinker with the lid but don't see any power management options; nor do I see options in the Power Management menus. Hibernation doesn't work reliably on my system, I don't want to have to do a full shutdown every time I change locations, and I like the convenience of triggering sleep with a lid-close. I dualboot Linux Mint but I'm using Microsoft OneNote for my dissertation research, so a Windows solution would be preferable.)

  • Can you disable the lid switch in BIOS? I have a feeling that this is something you won't be able to do...
    – Kinnectus
    Jul 8, 2014 at 22:32
  • Hibernation does not work reliably on most windows systems... Did either the answer or the comment solve your problem?
    – Cand3r
    Feb 5, 2016 at 14:45

1 Answer 1


You could just disable the sleep-on-close-lid option, which should in turn prevent a wakeup when you open the lid. However, you'll then need to remember to put the laptop to sleep before closing the lid (the power button can be configured to do this).

  • Good enough for now on a Dell XPS 15 9560.
    – Mihai
    Dec 8, 2017 at 22:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .