Merge "Specify additional FUEL_* properties don't apply to EVs in HAL docs" into main

This commit is contained in:
Shrikar Amirisetty 2024-03-15 18:35:50 +00:00 committed by Android (Google) Code Review
commit a9c2cfa80b

View file

@ -87,6 +87,11 @@ enum VehicleProperty {
/**
* Fuel capacity of the vehicle in milliliters
*
* This property must communicate the maximum amount of the fuel that can be stored in the
* vehicle in milliliters. This property does not apply to electric vehicles. That is, if
* INFO_FUEL_TYPE only contains FuelType::FUEL_TYPE_ELECTRIC, this property must not be
* implemented. For EVs, implement INFO_EV_BATTERY_CAPACITY.
*
* @change_mode VehiclePropertyChangeMode.STATIC
* @access VehiclePropertyAccess.READ
* @unit VehicleUnit.MILLILITER