pub const SAG_WINDOW_MS: u32 = 30_000;Expand description
How long after a transient load a terminal-voltage reading is still treated as possibly sagged rather than as resting OCV.
A property of the cell’s recovery, not of the monitor’s schedule. Deciding sag by “was there a load since the previous sample” instead couples it to the sampling cadence: at a multi-minute cadence an ordinary duty cycle puts one transmission in nearly every interval, every sample looks sagged, and the anchor window never fills — so the level would silently stop tracking on exactly the busy nodes that matter most.