Unless it changed with Android 12, on Android 11 and earlier with the S-Pen removed and the screen off, the phone detects movement to display the message. It doesn't determine distance away from the S-Pen. So when I test it, I remove the S-Pen, turn the screen off and wave the the phone 10 to 15...