           watchDogBarked = false;
           watchDogEnabled = false;
           elapsedTime = 0;
+          halfOfRemainingTime = TURN_DURATION / 2; // reset the remaining time since the turn is over
           // Go back to the sleep state
           currentState = DEEP_SLEEP;
         }

          stopVibrating();
          currentState = DEEP_SLEEP;
          elapsedTime = 0;
        }
      }
      if (buttonPressed) {

   A utility method to derive a watchdog timeout's duration
   @return the amount of milliseconds corresponding to a watchdog timeout
*/
unsigned long getTimeoutDuration() {
  return 1 << (currentWdt + 4);
}

