       mpu.setStandbyXGyroEnabled(1);
       mpu.setStandbyYGyroEnabled(1);
       mpu.setStandbyZGyroEnabled(1);
+      Serial.print(F("Sleeping."));
       vibr(1);
       delay(64);
       vibr(0);

      setup_watchdog(wdt_250ms); // set touch check interval
      while ( ((ay < (-10000)) || ay > (10000)) ) { // if the Avoccado device is resting in this position
        do_sleep(); // keep on sleeping
        powerMode(1); // power up MEMS, wake up every watchdog timer interval
        //        mpucheck();
        mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz); // get the new acceleration values TODO: implement for ADXL345
      }
      for (int _i = 0; _i < 2; _i++) { // vibrate briefly when waking up from hibernation mode
        vibr(1);

        vibr(0);
        delay(56);
      }
      Serial.println();
      powerMode(1); // power up MEMS
      mpu.setStandbyXGyroEnabled(0);
      mpu.setStandbyYGyroEnabled(0);
