Configurable screen blank (default 5 min), instant lock/lid blank, instant call/SMS wake
- Config -> Screen blank submenu (Off / 30 s / 1 / 5 / 10 / 30 min) backed by ~/.config/sxmo/idle_blank_timeout and the new bananarchy-idle-timeout.sh get|label|set. Default changed from 60 s to 300 s. dwm reads the file live and reloads it on SIGUSR1, so a menu change takes effect without a restart; sxmo.noidle and SXMO_UNLOCK_IDLE_TIME still override/disable it. - Power -> Lock now uses @plugin:locker:screenoff (like Lock (Screen off)), and lock_phone_screenoff() resets dwm's idle state, so closing the slider/lid or locking blanks the panel immediately instead of waiting for the timeout. - New bananarchy-screen-wake.sh restores the panel via sxmo_wm.sh display on, records /tmp/bananarchy_last_wake and signals dwm (SIGUSR1) to reset idle_blanked / last_input_ms. Called from sxmo_hook_ring.sh (incoming call) and sxmo_hook_notification.sh (SMS / notifications). dwm also self-heals if an external hook turns the panel on without a signal. Verified live on the connected phone (after deploying the rebuilt dwm/dmenu and restarting dwm with a rollback backup): idle_locker job is gone, default reads 300 / 5m, setting 10 s blanks the panel (br 14->0, bl 0->4, DPMS On->Off) after ~14 s of no input, and bananarchy-screen-wake.sh restores it immediately. Lock state and 5-minute default were restored afterwards. All scripts pass sh -n. Rebuilt dwm/dmenu and images/bananarchy-nokia-argon.img with --mkinitfs; boot.img still contains the known-good zImage + DTB byte-for-byte. check-rebuild.sh passes and artifact drift is 0. Docs: MANUAL.md, CHANGELOG.md, AGENTS.md, BATTERY-OPTIMIZATION-ANALYSIS.md (13).
This commit is contained in:
1 parent
22d629f59b
commit
da68bb8c60
14 files changed
+226
-12
No files matched your search
@@ -9,6 +9,27 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
|
||||
---
|
||||
|
||||
## Unreleased — configurable 5-minute screen blank, instant lock/wake
|
||||
|
||||
- **Configurable idle blanking**: added **Config -> Screen blank** (`Off`, 30 s,
|
||||
1/5/10/30 min) backed by `~/.config/sxmo/idle_blank_timeout` and the new
|
||||
`bananarchy-idle-timeout.sh get|label|set`. Default is now **5 minutes**
|
||||
(was 60 s). `dwm` reads the file live and reloads it on `SIGUSR1`, so a menu
|
||||
change takes effect without a restart; `sxmo.noidle` / `SXMO_UNLOCK_IDLE_TIME`
|
||||
still override it.
|
||||
- **Instant blank on lock/lid**: `Power -> Lock` now uses
|
||||
`@plugin:locker:screenoff` (like `Lock (Screen off)`), and `lock_phone_screenoff()`
|
||||
resets `dwm`'s idle state, so closing the slider or locking blanks the panel
|
||||
immediately instead of waiting for the idle timeout.
|
||||
- **Instant wake on activity**: new `bananarchy-screen-wake.sh` restores the panel
|
||||
via `sxmo_wm.sh display on`, records `/tmp/bananarchy_last_wake` and signals
|
||||
`dwm` (`SIGUSR1`) to reset `idle_blanked` / `last_input_ms`. Called from
|
||||
`sxmo_hook_ring.sh` (incoming call) and `sxmo_hook_notification.sh` (SMS /
|
||||
notifications). `dwm` also self-heals if an external hook turns the panel on
|
||||
without a signal.
|
||||
|
||||
---
|
||||
|
||||
## Unreleased — idle-blank wake fix and PIN-locked SIM provisioning
|
||||
|
||||
Two issues reported after the recovery image booted:
|
||||
|
||||
Reference in new issue
Block a user