From fdf818ffce0ba1d469a712a8943a561387092f93 Mon Sep 17 00:00:00 2001 From: Tyler Trephan Date: Wed, 13 Apr 2022 19:46:48 +0000 Subject: [PATCH] Updated EV_CHARGE_CURRENT_DRAW_LIMIT config array Test: atest CarPropertyManagerTest Bug: 229118601 Change-Id: If894454260852a1c7fa7ebfb3cf98682120bb397 --- .../vehicle/aidl/impl/default_config/include/DefaultConfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h index fda0da929b..4d96fd38ae 100644 --- a/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +++ b/automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h @@ -292,8 +292,9 @@ const std::vector kVehicleProperties = { .prop = toInt(VehicleProperty::EV_CHARGE_CURRENT_DRAW_LIMIT), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, + .configArray = {/*max current draw allowed by vehicle in amperes=*/20}, }, - .initialValue = {.floatValues = {(float)VehicleUnit::AMPERE}}}, + .initialValue = {.floatValues = {(float)12.5}}}, {.config = {