Skip to content

Commit 927f08d

Browse files
Remove battery SOP variants from the Metrics enum
Battery SoPs should be fetched from the `Bound` object provided in the `MetricSample` message. Hence, the `Metrics` enum should not contain these SoP variants. Signed-off-by: Tiyash Basu <[email protected]>
1 parent 19e6b16 commit 927f08d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

proto/frequenz/api/common/v1/metrics/metric_sample.proto

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ enum Metric {
134134
// General BMS metrics.
135135
METRIC_BATTERY_CAPACITY = 101;
136136
METRIC_BATTERY_SOC_PCT = 102;
137-
METRIC_BATTERY_SOP_CHARGE = 103;
138-
METRIC_BATTERY_SOP_DISCHARGE = 104;
139-
METRIC_BATTERY_TEMPERATURE = 105;
137+
METRIC_BATTERY_TEMPERATURE = 103;
140138

141139
// General inverter metrics.
142140
METRIC_INVERTER_TEMPERATURE = 120;

0 commit comments

Comments
 (0)