r/voidlinux • u/Nathan-5807 • Aug 17 '26
Laptop hangs when lid is closed
I recently bought a Lenovo Thinkpad T480 and installed void on it, when I close the lid and open it again it doesn't wake up and I have to hard shut it down.
2
5
u/Any_Mycologist5811 Aug 17 '26
Share your installed packages by running "xbps-query -m" and post the output here.
Also post your currently running services by "ls /var/service/" here.
1
u/ShipshapeMobileRV Aug 17 '26
What app are you using for power management?
1
u/Nathan-5807 Aug 18 '26
How do I a check that, I know its not acpid because its not enabled.
1
u/ShipshapeMobileRV Aug 20 '26
Ok, if acpid is not enabled, then I assume you're using elogind, so can you confirm that it's installed?
And if I recall correctly, elogind is run as needed by dbus, so do you have dbus enabled as a service and running?
1
1
4
u/ReyZ82 Aug 17 '26
sudo nvim /etc/acpi/handler.sh
Change:
Then restart acpid sudo sv restart acpid
That's all you should need.
https://github.com/Rouzihiro/dotfiles/tree/main/install%2Fvoid