there is no sleep mode yet, we’re planning to add such feature.
for the time being you can do it yourself on c++ side.