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
@@ -417,3 +417,15 @@ userspace changes. Deep standby (U2) stays disabled and inert.
|
||||
- **DSDS with a PIN-locked SIM**: `provision_slot()` now prefers the ready slot
|
||||
for `primary-gw-provisioning` when the preferred slot is `pin1`/`puk1`, so the
|
||||
unlocked SIM registers at boot. `verify-pin` re-runs `boot` after unlock.
|
||||
|
||||
---
|
||||
|
||||
## 13. Configurable screen blank (post-flash)
|
||||
|
||||
U1's idle blanking is now a user-facing setting: **Config -> Screen blank**
|
||||
(`Off`, 30 s, 1/5/10/30 min; default 5 min) writes
|
||||
`~/.config/sxmo/idle_blank_timeout`. `dwm` reads it live and reloads on
|
||||
`SIGUSR1`. Lid close / Power-menu Lock blank immediately; incoming calls and
|
||||
SMS/notifications wake immediately via `bananarchy-screen-wake.sh`, which also
|
||||
resets `dwm`'s idle timer. This keeps the panel off for long idle periods
|
||||
(battery) without delaying call/SMS visibility.
|
||||
Reference in new issue
Block a user