           Serial.println("Low battery/It' not dark yet!");
         }
         LEDSOFF();
+        ptStop(); // stop accumulating power time
         // Enter power down state for 8 s with ADC and BOD module disabled
         doPowerDown(SLEEP_8S, TIME_MULTIPLIER);
       }

    digitalWriteFast(ledPins[i], HIGH);
  }
}

  if(DEBUG){
    Serial.begin(9600);
  }

  ptStop();
}

/////////////////////////////////////////////////////////
