Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e438bd35 authored by Tyler Trephan's avatar Tyler Trephan
Browse files

Added min/max rates for EV_CHARGE_TIME_REMAINING

Test: atest CarPropertyManagerTest
Bug: 229118601
Change-Id: I6adedf1def47486ebe3cf9d12abe2bd65e0d6d48
parent fdf818ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -326,6 +326,8 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                         .prop = toInt(VehicleProperty::EV_CHARGE_TIME_REMAINING),
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
                         .minSampleRate = 1.0f,
                         .maxSampleRate = 10.0f,
                 },
         .initialValue = {.int32Values = {20}}},