Skip to content

Commit

Permalink
Update auto-releasing wake lock examples
Browse files Browse the repository at this point in the history
Fix #300
  • Loading branch information
anssiko committed Mar 23, 2021
1 parent 895be5a commit fdde925
Showing 1 changed file with 6 additions and 2 deletions.
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.
</li>
</ul>
</section>
<section>
Expand Down

0 comments on commit fdde925

Please sign in to comment.