Repository navigation
Release v4.0.0
WakeUpScreen v4.0.0 (versionCode: 40000)
Added
- The home page shows when the screen last woke successfully ("just now", minutes, hours or days ago), read straight from the notification log; tapping it opens the log
- Sleep windows can apply to chosen weekdays, with Every day / Weekdays / Weekend presets. A window that runs over midnight belongs to the evening it starts on, so Friday 23:00 - 07:00 still covers Saturday morning. Existing windows keep applying every day
- New rule "Low Battery Silence": below a chosen battery level (5-50%) and not charging, notifications stop waking the screen. Charging always passes
- New rule "Face-down Silence": while the phone lies screen-down — detected by the accelerometer, the same arrangement pocket mode has with the proximity sensor — notifications do not wake the screen
- "Night Glow": during sleep windows, an optional dim red glow (minimum brightness, black background) shows for a moment instead of total darkness, for people on call or with a baby. Red because it disturbs dark-adapted eyes least; logged under its own status
- Attention statistics: counted entirely on-device from two events — the screen being woken and the device being unlocked within half a minute — the app shows which apps wake the screen and never get looked at over the last 30 days, and offers one-tap blacklisting for the worst offenders. Notification content is never read
- Settings export and import as a JSON file, through the system file picker, with no new permissions. The file format carries a version number: newer settings are simply ignored by older builds, and a file from a newer format is refused with a clear message instead of half-applied
- In-app changelog: after an update, the first launch shows a short summary of what changed — covering every version skipped, not just the latest. It can be reopened any time from Settings → About → Changelog, and settings rows added by an update carry a small dot until visited
Changes
- Both new rules appear in the notification check process diagram and the notification log, like every other rule
- The custom screen-on window no longer turns the screen off when the keyguard is already gone: if you unlocked during the window (or your lock screen is set to "None"), the window ends without locking. Previously a missed unlock broadcast could lock the phone while it was in use
- The minimum custom screen-on duration is now 5 seconds (was 3). The keyguard check above needs the first moments after a wake to pass before it can be trusted on some devices; existing shorter settings are raised to 5 automatically
- Custom screen-on duration: the missing accessibility grant is now flagged with a prominent red warning, and leaving the page with the switch on but the grant absent brings up a dialog offering to enable it or leave anyway
Notes
- No new permissions
- Sleep windows saved by this version without weekday restrictions remain readable by 3.2.0; windows restricted to certain weekdays are dropped by older versions rather than misread
中文更新日志
新增
- 首页显示上次成功唤醒于多久之前(刚刚 / 分钟 / 小时 / 天),数据直接来自通知日志,点击可打开日志
- 睡眠时段支持按星期几生效,提供「每天 / 工作日 / 周末」快捷预设。跨午夜的时段归属于开始的那晚:周五 23:00 - 07:00 依然覆盖周六早晨。已有时段保持每天生效
- 新规则「低电量静默」:电量低于所选阈值(5-50%)且未充电时,通知不再亮屏;充电中始终放行
- 新规则「面朝下静默」:手机屏幕朝下扣放时通知不亮屏。由加速度计判断,与口袋模式使用距离传感器是同一套机制
- 「夜间红光」:睡眠时段内可选择短暂显示微弱红光(最低亮度、黑色背景),不再完全黑屏,适合值班、育儿等需要夜间待命的场景。选红色是因为它对暗适应视觉的干扰最小;在日志中以独立状态记录
- 注意力统计:完全在本机进行,仅基于两个事件——屏幕被唤醒、以及半分钟内是否解锁——统计最近 30 天哪些应用频繁亮屏却从不被理会,并对最严重的应用提供一键加入黑名单。不读取任何通知内容
- 设置支持导出为 JSON 文件、在其他设备导入,走系统文件选择器,不新增权限。文件格式带版本号:旧版本会忽略它不认识的新设置项,来自更新格式的文件会被明确拒绝并提示,而不是导入一半
- 应用内更新日志:更新后首次打开会弹出简短的更新摘要,跨版本更新时逐版本列出,不只显示最新一版。也可随时从「设置 → 关于 → 更新日志」查看;更新新增的设置项会带一个小圆点提示,点开后消失
变更
- 两条新规则与其他规则一样,出现在通知判断过程图示和通知日志中
- 精确亮屏时长到点熄屏前会先确认键盘锁还在:如果你在窗口期间已经解锁(或锁屏方式设为「无」),窗口直接结束、不再锁屏。此前解锁广播偶发丢失的机型上,可能在使用中被锁屏
- 精确亮屏时长的最短档从 3 秒改为 5 秒。上面的键盘锁检查需要避开部分机型唤醒初期的误报窗口;已保存的更短设置会自动抬升到 5 秒
- 自定义亮屏时长:未开启无障碍权限时改为醒目的红色警示;开关开启但未授权就离开页面时,会弹窗提醒,可选择去开启或仍然返回
说明
- 未新增任何权限
- 本版本保存的睡眠时段若未限制星期,3.2.0 仍可读取;限制了星期的时段在旧版本中会被丢弃而不是误读