One thing I've thought of is that on android, it's not so hard to get app usage in a custom app, as a proxy for being on the phone. So it could check if you've been on your phone for 15+ minutes and then ping you only then. It would take some app -> server -> telegram app communication