···495495496496 if go_to_sleep {
497497 info!("going to sleep");
498498- Timer::after(Duration::from_secs(25)).await;
498498+ //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
499499+ for _ in 0..25 {
500500+ watchdog.feed();
501501+ Timer::after(Duration::from_secs(1)).await;
502502+ }
499503 //Set the rtc and sleep for 15 minutes
500504 //goes to sleep for 15 mins
501505 _ = rtc_device.disable_all_alarms();