Diagnostic
Test your browser's wake lock.
Runs entirely in your browser and sends nothing anywhere. It checks support, asks for a real lock, and then lets you test what happens when you switch tabs or open a floating window.
1. Automatic checks
2. Request a real lock
No lock requested yet.
3. Tab-switch test
Request the lock, then switch to another tab for a few seconds and come back. The log below records what the browser did. If you opened the floating window first, this also shows whether the lock survives with it open.
What we have tested
Team CODEquiero tried the tool on real devices in October 2026. This is a small, informal test, not a lab study, and we only list what we actually checked.
| Device | What we checked | Result |
|---|---|---|
| Samsung Galaxy S23, S24 and other Samsung phones | Request lock, keep the screen on | Lock granted and held; no failures noticed. No battery-saver refusals seen. |
| Samsung tablet | Request lock, keep the screen on | Lock granted and held; no failures noticed. |
| iPhones (several, family devices) | Request lock, keep the screen on | Lock granted and held; no failures noticed. No battery-saver refusals seen. |
| iPad | Request lock, keep the screen on | Lock granted and held; no failures noticed. |
| Windows PC (desktop Chrome) | Lock with the floating (Picture-in-Picture) window open, then switch to another tab | Switching to another tab released the lock even with the floating window open (desktop Chrome on Windows). It was granted again when we returned to the tab, so keep this page visible rather than relying on the floating window. |
We have only run the tab-switch and floating-window test on the Windows PC so far, so we don't claim results for other devices. Run the test above on your own device and compare. Browsers and operating systems change, so your results may differ from ours.
Which browsers support the Wake Lock API
This table is taken from the published browser-compatibility data (MDN), not from our own device lab — we don't own every phone and browser, and we won't pretend to have tested them. Use the live test above to see what your browser actually does.
| Browser | Screen Wake Lock | Floating (Document PiP) window |
|---|---|---|
| Chrome / Chrome Android | Version 84 and later | Desktop Chrome 116 and later |
| Microsoft Edge | Version 84 and later | Version 116 and later |
| Safari (macOS and iOS) | Version 16.4 and later | Not supported |
| Firefox | Version 126 and later | Not supported |
| Samsung Internet | Version 14 and later | Not supported |
Support also depends on the page being served over HTTPS and on the device: some phones refuse the request when battery saver is on, and managed work devices can enforce their own lock policy. See Wake lock not working? for a full checklist.
How to read your results
- Secure context: no. The API only exists on HTTPS (and localhost). On this site you should always see "yes".
- API present: no. Your browser is too old, or it's a browser engine without Wake Lock support. Try a current Chrome, Edge, Safari or Firefox.
- Request denied. The browser supports it but refused — most often battery saver, a restrictive device policy, or the page not being visible when it asked.
- Released when you left the tab. That's expected and correct: the browser releases the lock whenever the page is hidden. Our tool re-acquires it when you come back, as long as you didn't stop it.