Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Update auto-releasing wake lock examples #310

Merged
merged 2 commits into from
Apr 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -620,16 +620,20 @@ <h3>
<dfn>Auto-releasing wake locks</dfn>
</h3>
<p>
A user agent may <a>release a wake lock</a> at any time it:
A user agent may <a>release a wake lock</a> at any time. For example,
when:
</p>
<ul>
<li>Detects abnormal operation: such as infinite loops and tasks
<li>It detects abnormal operation: such as infinite loops and tasks
exceeding imposed time limits (if any).
</li>
<li>Battery is considered low and discharging.
</li>
<li>The user turns on some kind of device power conservation mode.
</li>
<li>The operating system is configured to dim or turn off the screen
based on the user presence state.
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
</li>
</ul>
</section>
<section>
Expand Down