Power Management: Difference between revisions
change lang=sh to shell session to fix syntax highlighting error |
m Added a lang="text" to syntaxhighlight |
||
| Line 59: | Line 59: | ||
boot.resumeDevice = "/dev/dm-7"; | boot.resumeDevice = "/dev/dm-7"; | ||
</syntaxhighlight>Derived from a system with the following output from <code>swapon -s</code> :<syntaxhighlight> | </syntaxhighlight>Derived from a system with the following output from <code>swapon -s</code> :<syntaxhighlight lang="text">Filename Type Size Used Priority | ||
Filename Type Size Used Priority | |||
/dev/dm-7 partition 67108860 00 | /dev/dm-7 partition 67108860 00 | ||
/dev/zram0 partition 32881148 032767 | /dev/zram0 partition 32881148 032767</syntaxhighlight> | ||
</syntaxhighlight> | |||
Test and use hibernation with the following command:<syntaxhighlight lang="nix"> | Test and use hibernation with the following command:<syntaxhighlight lang="nix"> | ||