Can attest to this, the client takes a while to become inactive, and makes receiving mobile notifications extremely unreliable.
At the very least, make it so if this setting is enabled, and the unread notifications has been unread for 1 min, it sends a notification to the phone as well. if it is read under the window, no notification will be sent to the phone.
Thread
Comment by thermonuclear_minecraft_engineer
Comment by MildlyUnusual