fn: sgnd_save_state
Purpose
Persist configured runtime state values to the active state domain.
Returns
0 if state saving is disabled or there are no valid keys; otherwise the final output-helper status (a save failure is not necessarily propagated).
Usage
sgnd_save_state
