Ah I see. That kind of sucks. In the meantime I've come up with a workaround. I set a silent alarm using the system clock app which triggers at the same time as when I have scheduled an SMS. This wakes up the phone out of doze mode in time to send the SMS and the alarm automatically dismisses...