loginctl choose suspend method
by unInstance from LinuxQuestions.org on (#6N34Q)
I am on NUC12WSKi5 and Slackware 15 -current. I want to suspend my computer.
Code:echo s2idle > /sys/power/mem_sleep # default
echo mem > /sys/power/state... does exactly what I want (sends my computer to "Modern Standby").
Code:loginctl suspend does what I do not want (suspend to RAM). How do I do the above "Modern Standby" via loginctl and how do I configure elogind to make send my computer to "Modern Standby" on power button press?
Code:echo s2idle > /sys/power/mem_sleep # default
echo mem > /sys/power/state... does exactly what I want (sends my computer to "Modern Standby").
Code:loginctl suspend does what I do not want (suspend to RAM). How do I do the above "Modern Standby" via loginctl and how do I configure elogind to make send my computer to "Modern Standby" on power button press?