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

Commit afbb9baf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add vehicle curb weight property"

parents 079315ba 20014dab
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

}