Skip to content

Commit

Permalink
Change Wake Lock to Screen Wake Lock (#516)
Browse files Browse the repository at this point in the history
* Change Wake Lock to Screen Wake Lock

The spec has been converted to purely screen wake lock, and system lock will be
moved to a new document.

* Update the games roadmap as well
  • Loading branch information
xfq committed Oct 14, 2020
1 parent 4f95be4 commit 51573ba
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion games/lifecycle.html
Expand Up @@ -27,7 +27,7 @@ <h2>Well-deployed technologies</h2>
<h2>Technologies in progress</h2>

<div data-feature="Screen wake lock">
<p>Games may want to engage their users for a relatively long period of time. The <a data-featureid="wake-lock">Wake Lock API</a> lets developers signal the needs to keep the screen up in these circumstances, avoiding situations where the screen gets turned off by mistake to save battery.</p>
<p>Games may want to engage their users for a relatively long period of time. The <a data-featureid="screen-wake-lock">Screen Wake Lock API</a> lets developers signal the needs to keep the screen up in these circumstances, avoiding situations where the screen gets turned off by mistake to save battery.</p>
</div>

<div data-feature="Packing">
Expand Down
2 changes: 1 addition & 1 deletion games/lifecycle.ja.html
Expand Up @@ -27,7 +27,7 @@ <h2>実装されている仕様</h2>
<h2>仕様化が進行中の仕様</h2>

<div data-feature="Screen wake lock">
<p>ゲームは比較的長い時間にわたるユーザによる利用を想定しがちです。<a data-featureid="wake-lock">Wake Lock API</a> を利用することで開発者が画面表示状態が必要であることを示すことが可能になり、バッテリを温存するために画面が消されることがないようにできます。</p>
<p>ゲームは比較的長い時間にわたるユーザによる利用を想定しがちです。<a data-featureid="screen-wake-lock">Screen Wake Lock API</a> を利用することで開発者が画面表示状態が必要であることを示すことが可能になり、バッテリを温存するために画面が消されることがないようにできます。</p>
</div>

<div data-feature="Packing">
Expand Down
2 changes: 1 addition & 1 deletion games/userinput.html
Expand Up @@ -82,7 +82,7 @@ <h2>Technologies in progress</h2>
</div>

<div data-feature="Screen wake lock">
<p>Whether players are speaking commands to the game or interacting with them through non-haptic mechanisms, they risk seeing the screens turned off automatically by their devices screensaver. The <a data-featureid="wake-lock">Wake Lock API</a> lets developers signal the needs to keep the screen up in these circumstances.</p>
<p>Whether players are speaking commands to the game or interacting with them through non-haptic mechanisms, they risk seeing the screens turned off automatically by their devices screensaver. The <a data-featureid="screen-wake-lock">Screen Wake Lock API</a> lets developers signal the needs to keep the screen up in these circumstances.</p>
</div>
</section>

Expand Down
2 changes: 1 addition & 1 deletion games/userinput.ja.html
Expand Up @@ -82,7 +82,7 @@ <h2>仕様化が進行中の仕様</h2>
</div>

<div data-feature="Screen wake lock">
<p>ユーザがゲームへのコマンドを口頭で行う、もしくは非接触方法経由で操作を行うなどの手法をとる場合、デバイスのスクリーンセーバーにより画面が自動的に消灯されてしまう懸念があります。<a data-featureid="wake-lock">Wake Lock API</a> により開発者はそのような状況下でも画面を点灯したままにしておくことが可能になります。</p>
<p>ユーザがゲームへのコマンドを口頭で行う、もしくは非接触方法経由で操作を行うなどの手法をとる場合、デバイスのスクリーンセーバーにより画面が自動的に消灯されてしまう懸念があります。<a data-featureid="screen-wake-lock">Screen Wake Lock API</a> により開発者はそのような状況下でも画面を点灯したままにしておくことが可能になります。</p>
</div>
</section>

Expand Down
2 changes: 1 addition & 1 deletion js/translations.zh.json
Expand Up @@ -299,7 +299,7 @@
"User Timing Level 2": "用户计时第二版",
"Vibration API (Second Edition)": "振动 API",
"Visual Viewport API": "可视视口 API",
"Wake Lock API": "唤醒锁 API",
"Screen Wake Lock API": "屏幕唤醒锁 API",
"Web Animations": "Web 动画",
"Web App Manifest - Application Information": "Web 应用清单——应用信息",
"Web App Manifest": "Web 应用清单",
Expand Down
2 changes: 1 addition & 1 deletion mobile/userinput.html
Expand Up @@ -49,7 +49,7 @@ <h2>Technologies in progress</h2>
<p>The <a data-featureid="badging">Badging API</a> defines a more subtle notification mechanism than <a href="https://www.w3.org/TR/notifications/">Web Notifications</a>, allowing Web applications that have been installed on the device (e.g. through a manifest file) to set an application-wide badge, typically shown next to the application's icon on the home screen, to notify the user when the state of the application has changed and might require their attention (e.g. a new message has arrived).</p>
</div>

<p data-feature="Screen wake">Whether users are speaking commands to their apps or working with them through non-haptic interactions, they risk seeing the screens turned off automatically by their devices screensaver. An early proposal for a <a data-featureid="wake-lock">Wake Lock API</a> would let developers signal the needs to keep the screen up in these circumstances.</p>
<p data-feature="Screen wake">Whether users are speaking commands to their apps or working with them through non-haptic interactions, they risk seeing the screens turned off automatically by their devices screensaver. An early proposal for a <a data-featureid="screen-wake-lock">Screen Wake Lock API</a> would let developers signal the needs to keep the screen up in these circumstances.</p>
</section>

<section class="featureset exploratory-work">
Expand Down
2 changes: 1 addition & 1 deletion mobile/userinput.zh.html
Expand Up @@ -49,7 +49,7 @@ <h2 id="technologies-in-progress">开发中的技术</h2>
<p>除了<a href="https://www.w3.org/TR/notifications/">Web通知</a>以外,<a data-featureid="badging">标记 API</a>定义了另一种通知机制,允许已经安装在设备上的 Web 应用(例如通过清单文件)设置一个标记,通常显示在主屏幕上应用程序的图标旁边,在应用程序的状态发生变化时通知用户可能需要注意的信息(如新消息)。</p>
</div>

<p data-feature="屏幕唤醒">不论用户使用语音向它们的应用设备下达命令还是通过非触觉交互来处理这些命令,他们都面临着由于屏幕保护程序导致的屏幕自动关闭的风险。<a data-featureid="wake-lock">唤醒锁 API</a> 让开发者在这种情况下保持屏幕不锁定。</p>
<p data-feature="屏幕唤醒">不论用户使用语音向它们的应用设备下达命令还是通过非触觉交互来处理这些命令,他们都面临着由于屏幕保护程序导致的屏幕自动关闭的风险。<a data-featureid="screen-wake-lock">屏幕唤醒锁 API</a> 让开发者在这种情况下保持屏幕不锁定。</p>
</section>

<section class="featureset exploratory-work">
Expand Down

0 comments on commit 51573ba

Please sign in to comment.