···495496 if go_to_sleep {
497 info!("going to sleep");
498- Timer::after(Duration::from_secs(25)).await;
0000499 //Set the rtc and sleep for 15 minutes
500 //goes to sleep for 15 mins
501 _ = rtc_device.disable_all_alarms();
···495496 if go_to_sleep {
497 info!("going to sleep");
498+ //SO i need to wait for 25 seconds to make sure the display updates fully...But i need to keep feeding the dog atleast every 8 seconds
499+ for _ in 0..25 {
500+ watchdog.feed();
501+ Timer::after(Duration::from_secs(1)).await;
502+ }
503 //Set the rtc and sleep for 15 minutes
504 //goes to sleep for 15 mins
505 _ = rtc_device.disable_all_alarms();