Feature sleep time

@pimnijdam could you QA?