v0.7 closed with manual :gl/:gp only, leaving the auto_sync timer unscheduled. It lands in v0.8 alongside the sleep transitions it must respect and a new explicit item: per-sync Wi-Fi teardown (the git_sync modem-ownership refactor), prerequisite for both sleep modes. Forward pointers in typoena-toml.md and the v0.5 spec updated to match; the v0.5 macroplan learning is left as a historical record.
1.5 KiB
1.5 KiB
v0.8 — Power: battery + sleep
Part of the Typoena macro plan. Requirements and targets: qfd.md. Load-bearing decisions: adr.md.
Status: not started.
- Measure idle / typing / push current draw on bench
- 18650 + IP5306 charge board, soft power switch
- Per-sync Wi-Fi teardown — refactor
git_sync's modem ownership so the radio de-inits after each git op. Today it comes up lazily on the first op and stays associated for the rest of the session (~15–20 mAh/hr); TLS session resumption (v0.7) already makes the fresh-connect path cheap (2.4 s vs 4.0 s). Prerequisite for both sleep modes. Analysis: tradeoff-curves/wifi-auto-sync.md. - Light sleep on idle > 30 s (keyboard interrupt wakes)
- Deep sleep on lid close (reed switch); restore cursor + buffer
auto_syncruntime — the opportunistic, rate-limited push behind the v0.5.typoena.tomlkey (re-homed here 2026-07-14; v0.7 closed with manual:gl/:gponly). Push when already awake + dirty (coalesced into the idle-pause, ≤ once perauto_sync), push once on the way into sleep if dirty, never wake from deep sleep purely to sync; min clamp ~2 min. A clean tick is radio-free via the dirty journal. Policy + curve: tradeoff-curves/wifi-auto-sync.md.- Battery indicator in the side panel