# Revision history [back]

### Doesn't hibernate when I close the lid

I have edited the file /etc/systemd/logind.conf and change the line

#HandleLidSwitch=suspend


to

HandleLidSwitch=hibernate


After that I restarted system-login service (by executing the command systemctl restart systemd-logind.service) AND rebooting the system. I have checked that the changes is correct. I'm using a Lenovo Thinkpad T430.

The problem is that the computer still suspend when I close the lid, not going into hibernation.