Event code, can't sleep arduino for correct amount of time

If you need accurate sleep times in the range of minutes add an RTC to your project and wait for it's interrupt to wake from sleep.