User Activity

I sleep at the time I set with rtc on the stm32f103c8t6 microcontroller. I wake up with the alarm I set. No problems so far. I want to sleep when I press a button. But when I press the button, it sleeps, then wakes up immediately and sets the alarm t...