You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An owner-entered car SoC is lost when the charger socket reconnects #1928
Follow-up from #1788, which #1848 settled: a socket drop or a missing hardware identity no longer ends Charge now.
One part was left open there. observeConnectionProof (go/internal/loadpoint/session_state.go, about lines 332–344 on master 83c2b24) still clears the SoC the owner entered when the socket reconnects. A target such as "Charge now to 80 %" then counts from PluginSoC instead of the value the owner typed.
Expected: a reconnect of the same charger and session keeps the owner-entered SoC. It is cleared only on unplug, another serial, a new session ID or a loadpoint config change, the same rules #1848 uses for the hold.
Test: the #1848 reconnect shape with an owner-entered SoC of 40 % and a target of 80 %; after the reconnect the session still reports 40 % as its start.
Activity