Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/vehicle_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def real_battery_capacity(self) -> float | None:

if self.series.startswith("EH32"):
result = self.__mg4_real_battery_capacity
elif self.series.startswith("EC32"):
result = self.__cyberster_real_battery_capacity
elif self.series.startswith("EP2"):
result = self.__mg5_real_battery_capacity
elif self.series.startswith("ZS EV"):
Expand All @@ -139,6 +141,11 @@ def __mg4_real_battery_capacity(self) -> float | None:
# MG4 with LFP battery
return 51.0

@property
def __cyberster_real_battery_capacity(self) -> float | None:
# Model: MG Cyberster
return 72.5

@property
def __mg5_real_battery_capacity(self) -> float | None:
# Model: MG5 Electric, variant MG5 SR Comfort
Expand Down