commit | e438bd358b52470b62afb6af0a08c76c7a40e58f | [log] [tgz] |
---|---|---|
author | Tyler Trephan <tylertrephan@google.com> | Thu Apr 21 20:30:17 2022 +0000 |
committer | Tyler Trephan <tylertrephan@google.com> | Thu Apr 21 20:30:17 2022 +0000 |
tree | 60608efb86790291bed57fee546bf4ca17606b39 | |
parent | fdf818ffce0ba1d469a712a8943a561387092f93 [diff] |
Added min/max rates for EV_CHARGE_TIME_REMAINING Test: atest CarPropertyManagerTest Bug: 229118601 Change-Id: I6adedf1def47486ebe3cf9d12abe2bd65e0d6d48
diff --git a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h index 4d96fd3..5a579f1 100644 --- a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +++ b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h
@@ -326,6 +326,8 @@ .prop = toInt(VehicleProperty::EV_CHARGE_TIME_REMAINING), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::CONTINUOUS, + .minSampleRate = 1.0f, + .maxSampleRate = 10.0f, }, .initialValue = {.int32Values = {20}}},