Gjsify LogoGjsify Logo

Flags specifying the current power state.

If QMI_DMS_POWER_STATE_EXTERNAL_SOURCE is set, the device is powerered by an external source; otherwise it is powered by a battery.

If QMI_DMS_POWER_STATE_BATTERY_CONNECTED is set, the battery is connected; otherwise the battery is not connected.

If QMI_DMS_POWER_STATE_BATTERY_CHARGING is set, the battery is being charged; otherwise the battery is not being charged.

If QMI_DMS_POWER_STATE_FAULT is set, a power fault has been detected.

bitfield

Index

Enumeration Members

BATTERY_CHARGING: number

Battery is currently being charged.

BATTERY_CONNECTED: number

Battery is connected.

EXTERNAL_SOURCE: number

Powered by an external source.

FAULT: number

Recognized power fault.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method