low-power modes, entering and recovery

Conflicts with using the onboard button for reset etc, we need to figure out some way to share the functionality (likely the solution is posting an event flag from the wakeup ISR if the button was used for wakeup)