logoalt Hacker News

foobarian07/31/20251 replyview on HN

Or, when apps try to intercept sleep the OS can pop an Allow/Don't allow dialog before the app can actually achieve this


Replies

bayindirh07/31/2025

That'd create a lot of interruptions for the user. Some apps use it temporarily in critical sections, web media players enable/disable when play/pause events happen, etc.

An indicator and selective overrides is the way, IMHO. Invisible if you don't look, but it's there when you need it.

show 1 reply