eventType property

String? eventType
getter/setter pair

Event type. Possible string values are:

  • "POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED" : Unspecified. No events have this type.
  • "BATTERY_LEVEL_COLLECTED" : Battery level was measured.
  • "POWER_CONNECTED" : The device started charging.
  • "POWER_DISCONNECTED" : The device stopped charging.
  • "BATTERY_LOW" : The device entered low-power mode.
  • "BATTERY_OKAY" : The device exited low-power mode.
  • "BOOT_COMPLETED" : The device booted.
  • "SHUTDOWN" : The device shut down.

Implementation

core.String? eventType;