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

Commit 2f2f97cc authored by shrikar's avatar shrikar
Browse files

Updated EV_CHARGE_STATE HAL docs with behavior on reaching user target

Bug: 324447986
Test: presubmit
Change-Id: I33250f4a78a048a90f3f06ed66553e83200dd87b
parent 379d7c1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1277,7 +1277,7 @@
                    "EvChargeState"
                ],
                "data_enum": "EvChargeState",
                "description": "Charging state of the car\nReturns the current charging state of the car."
                "description": "Charging state of the car\nReturns the current charging state of the car.\nIf the vehicle has a target charge percentage other than 100, this property must return EvChargeState::STATE_FULLY_CHARGED when the battery charge level has reached the target level. See EV_CHARGE_PERCENT_LIMIT for more context."
            },
            {
                "name": "EV_CHARGE_SWITCH",
+4 −0
Original line number Diff line number Diff line
@@ -4901,6 +4901,10 @@ enum VehicleProperty {
     *
     * Returns the current charging state of the car.
     *
     * If the vehicle has a target charge percentage other than 100, this property must return
     * EvChargeState::STATE_FULLY_CHARGED when the battery charge level has reached the target
     * level. See EV_CHARGE_PERCENT_LIMIT for more context.
     *
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ
     * @data_enum EvChargeState