Cel:
Zmusić system do wybudzania wyłącznie za pomocą naciśniętego przycisku zasilania.
Realizacja praktyczna:
- Odpalamy Terminal.
- Wklepujemy man pmset.
- Czytamy fragment:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<strong><em>hibernatemode</em></strong> takes a bitfield argument defining SafeSleep behavior. Passing 0 disables SafeSleep altogether, forcing the computer into a regular sleep. (…) <strong>hibernatemode = 0</strong> (binary 0000) by default on supported desktops. The system will not back memory up to persistent storage. The system must wake from the contents of memory; the system will lose context on power loss. This is, historically, plain old sleep. <strong>hibernatemode = 3</strong> (binary 0011) by default on supported portables. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from disk image. <strong>hibernatemode = 25</strong> (binary 0001 1001) is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting. |
- Lektura manuala wskazuje na opcję hibernatemode = 25
- Ustawiamy więc tę opcję w Terminalu: sudo pmset -a hibernatemode 25
- Gotowe 🙂
- Od tej chwili funkcja usypiania, będzie zrzucała na dysk zawartość pamięci RAM systemu i całkowicie odłączała zasilenie komputera.
- Wybudzenie będzie możliwe poprzez naciśnięcie przycisku zasilania 🙂