check manualOperation and mySleep before set valuas