The button starts, but the lock is rejected
If the page reports that wake lock is unavailable or blocked, the browser may not support it in the current context. Verify that you are using localhost or HTTPS and that the browser actually supports the API on your platform.