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

Commit c6e1808b authored by shrikar's avatar shrikar
Browse files

Fixed _EV_BATTERY_CAPACITY property HAL docs to specify usable capacity

Bug: 316940310
Test: presubmit
Change-Id: I1b2f04e2c8882b22fefb7cf2bf1431e109dcdfe8
parent 208ea801
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -115,12 +115,13 @@ enum VehicleProperty {
    INFO_FUEL_TYPE = 0x0105 + 0x10000000 + 0x01000000
            + 0x00410000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:INT32_VEC
    /**
     * Nominal battery capacity for EV or hybrid vehicle
     * Nominal usable battery capacity for EV or hybrid vehicle
     *
     * Returns the nominal battery capacity, if EV or hybrid. This is the battery capacity when the
     * vehicle is new. This value might be different from EV_CURRENT_BATTERY_CAPACITY because
     * EV_CURRENT_BATTERY_CAPACITY returns the real-time battery capacity taking into account
     * factors such as battery aging and temperature dependency.
     * Returns the nominal battery capacity, if EV or hybrid. This is the total usable battery
     * capacity when the vehicle is new. This value might be different from
     * EV_CURRENT_BATTERY_CAPACITY because EV_CURRENT_BATTERY_CAPACITY returns the real-time usable
     * battery capacity taking into account factors such as battery aging and temperature
     * dependency.
     *
     * @change_mode VehiclePropertyChangeMode.STATIC
     * @access VehiclePropertyAccess.READ
@@ -389,12 +390,13 @@ enum VehicleProperty {
    EV_BATTERY_LEVEL = 0x0309 + 0x10000000 + 0x01000000
            + 0x00600000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:FLOAT
    /**
     * Current battery capacity for EV or hybrid vehicle
     * Current usable battery capacity for EV or hybrid vehicle
     *
     * Returns the actual value of battery capacity, if EV or hybrid. This property captures the
     * real-time battery capacity taking into account factors such as battery aging and temperature
     * dependency. Therefore, this value might be different from INFO_EV_BATTERY_CAPACITY because
     * INFO_EV_BATTERY_CAPACITY returns the nominal battery capacity from when the vehicle was new.
     * real-time usable battery capacity taking into account factors such as battery aging and
     * temperature dependency. Therefore, this value might be different from
     * INFO_EV_BATTERY_CAPACITY because INFO_EV_BATTERY_CAPACITY returns the nominal battery
     * capacity from when the vehicle was new.
     *
     * @change_mode VehiclePropertyChangeMode.ON_CHANGE
     * @access VehiclePropertyAccess.READ