Skip to content

Commit

Permalink
battery: add message for Battery State of Health (#23)
Browse files Browse the repository at this point in the history
New message for transmitting the SoH from the Amber battery. SoH is not available from Ruby batteries.
  • Loading branch information
moritz-diller authored Apr 29, 2024
1 parent f85a16e commit 523a6c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions messages/mcu_messaging_main.proto
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ message McuToJetson
BatteryInfoSocAndStatistics battery_info_soc_and_statistics = 26;
ConePresent cone_present = 27;
MemfaultEvent memfault_event = 28;
BatteryStateOfHealth battery_state_of_health = 29;
}
}

Expand Down Expand Up @@ -559,6 +560,9 @@ message BatteryDiagnosticPermanentFail
// Battery Capacity [in %]
message BatteryCapacity { uint32 percentage = 1; }

// Battery State of Health [in %]
message BatteryStateOfHealth { uint32 percentage = 1; }

// Is battery charging?
message BatteryIsCharging { bool battery_is_charging = 1; }

Expand Down

0 comments on commit 523a6c0

Please sign in to comment.