diff options
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index 588cbaf6f9..0ab7ecd686 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -45,7 +45,9 @@ enum charge_state { /* Charging, almost fully charged */ PWR_STATE_CHARGE_NEAR_FULL, /* Charging state machine error */ - PWR_STATE_ERROR + PWR_STATE_ERROR, + /* Count of total states */ + PWR_STATE_COUNT }; /* Charge state flags */ |