Keeps the screen awake for the length of a task and re-acquires the wake lock the browser silently takes away whenever the tab is hidden, with gesture-safe requests and distinguishable refusal errors.
npx shadcn@latest add @zyeon/use-wake-lockZyeon UI limits how often it can be asked, and useWakeLock hasn't had its turn. Its source will show here once it has.