Below you will find pages that utilize the taxonomy term “suspend”
Blog
Suspend Laptop When Lid Closed Ubuntu 12.04 LTS in Lenovo Z500
I guess this is a bug. Although suspend is set in Power settings, it doesn’t suspend the laptop when its lid is closed.
To solve it, I’ve found a workaround on web. Here is how you implement it:
Generate folder if it’s not present:
sudo mkdir /etc/acpi/local Set its permissions:
sudo chmod 755 /etc/acpi/local Generate the script:
sudo gedit /etc/acpi/local/lid.sh.post Copy-paste the following:
#!/bin/bash grep -q closed /proc/acpi/button/lid/*/state if [ $?