New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 386255 link

Starred by 4 users

Issue metadata

Status: Duplicate
Owner: ----
Closed: Jan 2015
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Need a way to keep the screen from turning off

Project Member Reported by smus@chromium.org, Jun 18 2014

Issue description

Web needs an API similar to these:

https://developer.chrome.com/extensions/power#method-requestKeepAwake
https://developer.android.com/training/scheduling/wakelock.html

Developers are resorting to hacks like playing hidden videos to prevent the screen from sleeping.
 
Labels: -Cr-Internals-Media-UI -OS-Android -OS-iOS Cr-Blink OS-All
Status: Available
this is a general purpose wake lock API, right?

Comment 2 by smus@google.com, Jul 9 2014

Yes, this is a general wake lock request. Also see this from Mozilla:

http://w3c-webmob.github.io/wake-lock-use-cases/

Comment 3 by smus@chromium.org, Jan 23 2015

Mergedinto: 372443
Status: Duplicate

Sign in to add a comment