Modify sleep mode behaviour