Skip to content
Vehicle properties
Engine & powertrain

PARKING_BRAKE_AUTO_APPLY

What it is

Auto-apply parking brake.

This property is true indicates that the car's automatic parking brake feature is currently enabled. False indicates that the car's automatic parking brake feature is currently disabled.

This property is often confused with PARKING_BRAKE_ON. The difference is that PARKING_BRAKE_ON describes whether the actual parking brake is currently on/off, whereas PARKING_BRAKE_AUTO_APPLY describes whether the feature of automatic parking brake is enabled/ disabled, and does not describe the current state of the actual parking brake.

How the ID is built

A property ID is a 32-bit value packing four fields. Reading 0x11200403 apart:

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00200000BOOLEAN
Ordinal0x0000ffff0x000004030x403

Reading it from an app

CarPropertyManager mgr = (CarPropertyManager)
        car.getCarManager(Car.PROPERTY_SERVICE);

boolean value =
        mgr.getBooleanProperty(VehiclePropertyIds.PARKING_BRAKE_AUTO_APPLY, 0);

This property is read-only — writes are rejected. It fires a callback whenever the value changes.