Added scheduleMgr to control different device status.