# setSleepMode

Description: enable or disable sleep mode.

Request example:

{
    "method" : "setSleepMode",
    "requestId" : "1",
    "enabled" : true
}

Response example:

{
    "method" : "setSleepMode",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • enabled - a flag indicating whether sleep mode is enabled or disabled

  • requestId - a unique request identifier. You can learn more about it here.

See also: