I recently turned on my computer and accidentally left it sitting at the login prompt for hours, needlessly sucking power. A display manager would automatically suspend in that case, but I don't want one.
So can I configure the computer to go to sleep (I guess using systemctl suspend
) after idling a few minutes at the login prompt (and ideally also in a logged in tty)?