 int wifi;
 
 void setup() {
-  Serial.begin(9600);
+  //Serial.begin(9600);
   if (!Wire.isEnabled())
     Wire.begin();
+  pinMode(POWER,OUTPUT);
   pinMode(TEMP_SENSOR, INPUT);
+  digitalWrite(POWER, HIGH);
 
   lipo.begin();
   lipo.quickStart();

    Particle.publish("waterdata", water_data(), PRIVATE);
    if(soc <= 10)
      sleepInterval = 60 * 15;
    else if(soc <= 10)
      sleepInterval = 60 * 10;
    else
      sleepInterval = 60 * 5;
    nextSleepTime = millis() + (sleepInterval * 1000) + WAKE_INTERVAL;
    executeRequest(PH_ADDRESS,"Sleep");
    executeRequest(ORP_ADDRESS,"Sleep");
    System.sleep(SLEEP_MODE_DEEP,sleepInterval);
  }
}

  else
    delay(300);
  Wire.requestFrom(address, 20);
  int val=Wire.read();
  switch (val) {
    case 1:
      //Serial.println("Success");
      break;
    case 2:
      //Serial.println("Failed");
      return String("Failed");
      break;
    case 254:
      //Serial.println("Pending");
      break;
    case 255:
      //Serial.println("No Data");
      break;
    default:
      //Serial.printlnf("Invalid response %d",val);
      return String("Failed");
  }

  while(Wire.available()) {
