Watch
1
0
Fork
You've already forked SouveraineOS
0

queue: device state manager / power profiles (item 12), suspend interim note

This commit is contained in:
Fimeg 2026-07-17 08:14:11 -04:00
commit 55c94e2367

View file

@ -144,7 +144,25 @@ authority. Screen off → wake (to lockscreen). Tap-to-wake unchanged.
dead swipe on the lockscreen). The 73d0cd0 serialization only covered
dpms off/on. Candidates: kernel-side pacing (Android is the reference)
or a post-resume rebind hook (careful: rebind with panel off may drop
dt2w flags). Lessons doc: LOCK-DPMS-LESSONS.md §3.
dt2w flags). Lessons doc: LOCK-DPMS-LESSONS.md §3. Interim: hypridle
suspend listener disabled (`Pixel3Arch c4fd047`) — idle stops at
screen-off, gadget/ssh survive idle.
12. **Device state manager / power profiles** (named 2026-07-17). The
"session state manager we dance around": one owner for device power
states instead of scattered timeout listeners. Android is the
reference — it has *tiers* of idle (screen-off, doze-light, doze-deep)
with promotion rules; we currently have exactly one blunt s2idle and
it wedges touch (item 11). Wants: (a) idle tiers with device-aware
gating — the souveraine settings device flag should gate which states
a device may enter (blueline: no suspend until item 11 closes);
(b) charge-aware profiles — plugged-in at 100% should trickle/limit,
not float (investigate kernel charge_control_* support); (c) USB role
awareness — the USB-C role/mode plumbing installed earlier has NO UI
toggle; the shell should show current mode (gadget/host/charge-only)
and switch it; (d) wifi handoff gating — radio transitions belong to
the same state model, not ad-hoc. Relates to queue items 3 (idle
intelligence) and 4 (session-authority layer); the state manager is
where those converge.
## Boot password prompt (seen post-reboot, patched live)