     resetEstimate();
   else
     optimalSleep();
+  rf12_sleep(RF12_SLEEP);
+
   ++_loopCnt;
 }
 

    _recvWindow *= 2;

  unsigned long predict = _recvLast + (lost + 1) * _recvCycleAct;
  unsigned int sleep =  predict - millis() - _recvWindow;
  radioSleep(sleep);

  unsigned long recvTime;
  unsigned long startTime = millis();
  do {
    recvTime = millis();
    if (recvTime > predict + _recvWindow)
    {
#if _DEBUG
      Serial.print(" f "); Serial.print(lost);
      Serial.print(" s "); Serial.print(sleep);
      Serial.print(" e "); Serial.print(_recvCycleAct);
      Serial.print(" w "); Serial.print(_recvWindow);
      Serial.print(" s "); Serial.print(startTime);
      Serial.print(" p "); Serial.print(predict);
      Serial.print(" r "); Serial.println(recvTime);
      Serial.flush();

// How many seconds to delay between measurements
const unsigned char _sleepInterval = 2;
// Analog pins to read. This is a bitfield, LSB is analog 0
const unsigned char _enabledProbePins = 0x01;
// Analog pin connected to source power.  Set to 0xff to disable sampling
const unsigned char _pinBattery = 1;
// Digital pins for LEDs, 0xff to disable
