iokit_power_management_sleep_system

Causes an immediate system sleep.

{
    "to": [
        {
            "software_function": {
                "iokit_power_management_sleep_system": {
                    "delay_milliseconds": 500
                }
            }
        }
    ]
}
Name Required Description
delay_milliseconds Optional Waiting time before the system goes to sleep

Examples

Use default delay_milliseconds (500 ms).

{
    "to": [
        {
            "software_function": {
                "iokit_power_management_sleep_system": {}
            }
        }
    ]
}