 
 #ifdef LMREMOTE_SERIAL
   #define SLEEPMODE_TX    1
+  #define SLEEPMODE_ADC   SLEEP_MODE_IDLE
 #else
   #define SLEEPMODE_TX    2
+  #define SLEEPMODE_ADC   SLEEP_MODE_ADC
 #endif
 
 static unsigned int _previousReads[RF_PINS_PER_SOURCE];

    unsigned int adcSum = 0;
    unsigned char battPct;
    for (unsigned char i=0; i<BATREAD_COUNT; ++i)
      adcSum += analogRead(_pinBattery);
    // Send level as percent of VCC
    battPct = (adcSum * 100UL) / (1024 * BATREAD_COUNT);

#ifdef LMREMOTE_SERIAL
    Serial.print("Battery level: "); Serial.print(retVal, DEC); Serial.print('\n');
#endif

    if (battPct < BATTERY_LOW_PCT)


void loop(void)
{
  checkTemps();
#ifdef LMREMOTE_SERIAL
  Serial.flush(); delay(2);
#endif
  sleepSeconds(_sleepInterval);
  ++_loopCnt;
