Linux/Sleep Suspend Hibernate

From Wiki
< Linux
Revision as of 21:56, 25 November 2023 by Marcluer (talk | contribs)
  • disabled sleep modes
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
  • enable sleep modes
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
  • /etc/systemd/logind.conf