# setSleepMode
Description: enable or disable sleep mode.
Request example:
{ "method" : "setSleepMode", "requestId" : "1", "enabled" : true }
Copied!
Response example:
{ "method" : "setSleepMode", "requestId" : "1", "result" : true }
Copied!
Parameter description:
enabled
- a flag indicating whether sleep mode is enabled or disabledrequestId
- a unique request identifier. You can learn more about it here.
See also: