To implement the SLEEP mode.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>