Timeline for Use caffeinate to prevent sleep on lid close on battery
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2022 at 4:08 | comment | added | Chris |
There's one hacky native way I know how to do this: Start a screen sharing session with the target Mac and it won't sleep even if the lid is closed and battery power is removed. I'm referring to the built-in macOS screen sharing functionality and not a 3rd party's. When a session is active thescreensharingd process on the target mac takes out a the power assertionPreventSystemSleep and this is actually respected, preventing system sleep.
|
|
Apr 8, 2019 at 18:38 | history | edited | Simba | CC BY-SA 4.0 |
added 18 characters in body
|
Apr 7, 2019 at 12:15 | review | Late answers | |||
Apr 7, 2019 at 12:34 | |||||
Apr 7, 2019 at 11:56 | history | answered | Simba | CC BY-SA 4.0 |