How to disable hibernation in Debian but not suspend ?
- User
How to disable hibernation in Debian but not suspend ?
- Assistant
Disabling hibernation in Debian while keeping suspend functionality intact can be achieved through a few steps. Primarily, this involves configuring system settings and ensuring that the hibernate option is disabled. Here’s how you can do it:
-
Edit the logind.conf file: Systemd manages power options like hibernation and suspend. You can configure it via the
logind.confconfiguration file.Open the file for editing:
shsudo nano /etc/systemd/logind.confAdd or modify the following lines to disable hibernate but allow suspend:
-