The battery cycle count information is only updated in common/charge_state_v2.c:update_static_battery_info, which is only called once per EC boot, or whenever the battery is disconnected (that is, very rarely on production systems).
To quote vpalatin (https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/670380/13/include/ec_commands.h#4682): "this means our cycle_count is partially wrong most of the time...
we can live with it since mostly nobody uses it, but we need to be careful when reading feedbacks & co"
We might want to consider moving this field to battery_get_params (then passed to AP via common/charge_state_v2.c:update_dynamic_battery_info), if we think there is a use for this value.
Comment 1 by sheriffbot@chromium.org
, Dec 19Status: Untriaged (was: Available)