系统装在 Thinkpad T61 上。
我已经设置当盖子合上后 "Do nothing",现在合上盖子后的确不会休眠,但是合上盖子后当我通过远程终端执行 poweroff/reboot 时,会立刻进入休眠状态,只有重新打开盖子才能继续 poweroff/reboot.
如何才能在合上盖子的时候也能正常的执行关机或重启命令呢?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
编辑 /etc/default/grub
把
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
改成
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
然后
sudo update-grub
sudo reboot
搞定。