Default [Q] Pocked mode - screen turns on while removing phone from pocket ONLY if notificati

Hi guys,

In desperately looking for an app or mod that does what's in the subject.

I'd like to have my s3 screen on when i remove it from my pocket but ONLY if notifications are present.

This is a feature that some custom ROMs have (e.g. C-rom) but i wonder if i can get the same behaviour on my stock rooted s3.

I know that apps like "gravity screen" do something similar but in don't think they can turn on only inc ase of pending notifications.

Thank you for any advice.

Sent from my Nexus 7 using Tapatalk