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

Commit 20014dab authored by Kiran Rachuri's avatar Kiran Rachuri
Browse files

Add vehicle curb weight property

Bug: 197026083
Test: Build
Change-Id: I8c621b355e3d199dbac7a6170c1281fa2d7e03ad
parent c0c8e00e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -205,4 +205,5 @@ enum VehicleProperty {
  EV_CHARGE_TIME_REMAINING = 289410883,
  EV_REGENERATIVE_BRAKING_STATE = 289410884,
  TRAILER_PRESENT = 289410885,
  VEHICLE_CURB_WEIGHT = 289410886,
}
+25 −0
Original line number Diff line number Diff line
@@ -2815,4 +2815,29 @@ enum VehicleProperty {
     */
    TRAILER_PRESENT = 0x0F45 + 0x10000000 + 0x01000000
            + 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:INT32

    /**
     * Vehicle’s curb weight
     *
     * Returns the vehicle's curb weight in kilograms. Curb weight is
     * the total weight of the vehicle with standard equipment and all
     * necessary operating consumables such as motor oil,transmission oil,
     * brake fluid, coolant, air conditioning refrigerant, and weight of
     * fuel at nominal tank capacity, while not loaded with either passengers
     * or cargo.
     *
     * configArray[0] is used to specify the vehicle’s gross weight in kilograms.
     * The vehicle’s gross weight is the maximum operating weight of the vehicle
     * as specified by the manufacturer including the vehicle's chassis, body, engine,
     * engine fluids, fuel, accessories, driver, passengers and cargo but excluding
     * that of any trailers.
     *
     * @change_mode VehiclePropertyChangeMode:STATIC
     * @access VehiclePropertyAccess:READ
     * @unit VehicleUnit:KILOGRAM
     */

    VEHICLE_CURB_WEIGHT = 0x0F46 + 0x10000000 + 0x01000000
            + 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:INT32

}