Hi, thanks to your question and Henrik's answer I solved this on my phone.
I thought the "SMS received" was failing, but as Henrik said, WhatsApp is the culprit.
What works for me is adding 2 blocks before calling the WhatsApp shortcut, one to wake the phone and one to unlock it:
- "Device keep awake" with input arguments PROCESSOR = "CPU and screen" and WiFi HARDWARE = "Full" and Illumination checked.
- "Screen lock set state" with option "Support secure screen locks" checked and Input Argument "Disable".
Afterwards I enable sleep again with this block:
- "Device keep awake" with input arguments PROCESSOR = "Allow sleep" and WiFi HARDWARE = "Allow sleep" and Illumination unchecked.
Now, when my phone is locked and the screen off, it will turn on for processing an SMS and thereafter will return to its locked state.
(My screen lock has no security, it unlocks with slide).
Regards,
Wim