Skip to content
UniKit

Keep-awake planner

Enter a duration (1–1440 minutes) and get an awake plan: the total length, how many 30-minute check-ins that implies, and a note that actually blocking sleep needs browser or system permission. It writes the plan only — no permission is requested and the screen state is untouched.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Planned duration (minutes)

Awake plan

Plain-text plan: the duration plus the review count at one per 30 minutes; no permission request and no screen change.

Enter a duration to see the plan

What this tool does

  • Watching a long video or cooking along with a tutorial: note how long you need (say 45 minutes) so the screen does not sleep.
  • Write the duration plus the 30-minute review cadence into a duty or streaming runbook.
  • Estimate how many mid-session checks a meeting or class needs to avoid a sleeping display.

Example

Input

60

Output

屏幕常亮计划: 60 分钟
每 30 分钟复核一次,共 2 次
需要浏览器/系统权限才能真正阻止休眠(本地纯函数未申请权限)

The output is a plan: the duration and the review count at one per 30 minutes (60 minutes gives 2), and it states that nothing local asks for permission. Clearing the extra-note checkbox drops the third line.

Frequently asked questions

Does it really keep the screen awake?

No. It only writes a plan — no Wake Lock API call, no change to system power settings and no permission request. Use your OS power settings or a Wake Lock capable page for that.

What durations are allowed?

Integers from 1 to 1440 minutes (one day). Zero, negatives, decimals or text raise an invalid duration error.

How is the review count computed?

It is the ceiling of minutes ÷ 30: 30 minutes gives 1, 31 gives 2, 60 gives 2, 61 gives 3 and 1440 gives 48. It is a suggested check cadence, not a timer.

What does the extra-note checkbox change?

Only the text: clearing it prints the first two lines (duration and review count) without the permission sentence. The minute count and review count never change.

Keywords:Keep-awake plannerliangsofflinedeterministic

Related tools