Skip to content
Vehicle properties
Power & shutdown

AP_POWER_STATE_REPORT

What it is

Property to report power state of application processor

It is assumed that AP's power state is controller by separate power controller.

  int32Values[0] : VehicleApPowerStateReport enum value
  int32Values[1] : Time in ms to wake up, if necessary.  Otherwise 0.

How the ID is built

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

FieldMaskValueMeans
Group0xf00000000x10000000SYSTEM
Area0x0f0000000x01000000GLOBAL
Type0x00ff00000x00410000INT32_VEC
Ordinal0x0000ffff0x00000a010xa01

Reading it from an app

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

CarPropertyValue<Integer> value =
        mgr.getProperty(VehiclePropertyIds.AP_POWER_STATE_REPORT, 0);

This property can be read and written, though an OEM may implement it as read-only. It fires a callback whenever the value changes.