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

Commit 69bc05cd authored by shrikar's avatar shrikar
Browse files

Updated relevant EV_prop HAL docs with expected behavior in multiport EV

Bug: 316927574
Test: presubmit
Change-Id: I5bbb4d5bd11c2b858852125c50a289f21c12bd23
parent 379d7c1e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
                    "EvConnectorType"
                ],
                "data_enum": "EvConnectorType",
                "description": "List of connectors this EV may use"
                "description": "List of connectors this EV may use\nIf the vehicle has multiple charging ports, this property must return all possible connector types that can be used by at least one charging port on the vehicle."
            },
            {
                "name": "Fuel door location",
@@ -169,12 +169,12 @@
            {
                "name": "EV charge port open",
                "value": 287310602,
                "description": "EV charge port open\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
                "description": "EV charge port open\nIf the vehicle has multiple charging ports, this property must return true if any of the charge ports are open.\nThis property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to implement it as VehiclePropertyAccess.READ only."
            },
            {
                "name": "EV charge port connected",
                "value": 287310603,
                "description": "EV charge port connected"
                "description": "EV charge port connected\nIf the vehicle has multiple charging ports, this property must return true if any of the charge ports are connected."
            },
            {
                "name": "EV_BATTERY_INSTANTANEOUS_CHARGE_RATE",
+9 −0
Original line number Diff line number Diff line
@@ -138,6 +138,9 @@ enum VehicleProperty {
    /**
     * List of connectors this EV may use
     *
     * If the vehicle has multiple charging ports, this property must return all possible connector
     * types that can be used by at least one charging port on the vehicle.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @data_enum EvConnectorType
     * @access VehiclePropertyAccess.READ
@@ -436,6 +439,9 @@ enum VehicleProperty {
    /**
     * EV charge port open
     *
     * If the vehicle has multiple charging ports, this property must return true if any of the
     * charge ports are open.
     *
     * This property is defined as VehiclePropertyAccess.READ_WRITE, but OEMs have the option to
     * implement it as VehiclePropertyAccess.READ only.
     *
@@ -449,6 +455,9 @@ enum VehicleProperty {
    /**
     * EV charge port connected
     *
     * If the vehicle has multiple charging ports, this property must return true if any of the
     * charge ports are connected.
     *
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ
     * @version 2