Skip to content

Commit

Permalink
Increase sleep timer for user experience
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh867 committed Feb 4, 2021
1 parent 2d18dd0 commit 85697b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openoceancamera/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def main():
print(f"We have {mins_to_next_slot} mins to next slot")
if (mins_to_next_slot > 10) and slot == -1:
logger.info("Camera is going to prepare to go to sleep")
sleeptime = datetime.now() + timedelta(minutes=2)
sleeptime = datetime.now() + timedelta(minutes=5)
next_reboot = next_slot["start"] - timedelta(minutes=2)
sleeptime = sleeptime.strftime("%d %H:%M")
print(f"I will wake up at {next_reboot}")
Expand Down

0 comments on commit 85697b2

Please sign in to comment.