BATTERY_STATE constant

String const BATTERY_STATE

Measure type for collection of battery level and charging status.

  • Event-based measure.
  • Uses the Smartphone primary device for data collection.
  • No sampling configuration needed.

Implementation

static const String BATTERY_STATE =
    '${CarpDataTypes.CARP_NAMESPACE}.batterystate';