   }
 
   daytime = true;
-  if (solarVoltage < 1000)
+  if (solarVoltage < 3.0)
     daytime = false;
 
   delay(100);

int uv;
int ir;
int visible;
int solarVoltage;
int batteryVoltage;
bool daytime;

typedef enum {

    if (daytime == false)
      reconnectIn = 15;

    System.sleep(SLEEP_MODE_DEEP, reconnectIn*60);
  }
}
