How to prevent your Linux laptop from waking up at night
07 Jan 2015
Every time I put my X1 Carbon to suspend over night, it suddenly wakes up after some hours of sleeping. When it is connected to the power adapter, it just stays awake; when it is on battery, it eventually shuts down due to low power.
As described in this forum post, the reason for this strange behavior is an Intel® power setting in the X1's BIOS, which tries to put the machine to hibernate after 3 hours of suspend. As I use an encrypted harddrive in Ubuntu, hibernate is not available, so the process is interrupted and the notebook stays awake. (At least I guess that the encryption is the reason; but maybe the Intel® setting isn't compatible with Linux at all and also affects users who have not encrypted their HD.)
This is what the system log looks like:
As forum member lobnerpoints out, the solution is to disable the deep-sleep option in the X1's BIOS. Here is how it's done:
reboot your X1
tap F12 immediately after startup to enter BIOS
hit TAB to select "App Menu"
hit ENTER to enter "Setup"
hit the RIGHT ARROW key to select the "Config"
hit the DOWN ARROW key until you get to "Power", then ENTER
hit the DOWN ARROW key until you get to "Intel (R) Rapid Start Technology"
hit ENTER to switch it to "Disabled"
finally, tap F10 to Save and Exit
Your Linux laptop will now stay asleep over night.