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.
QMI_DMS_POWER_STATE_EXTERNAL_SOURCE
If QMI_DMS_POWER_STATE_BATTERY_CONNECTED is set, the battery is connected; otherwise the battery is not connected.
QMI_DMS_POWER_STATE_BATTERY_CONNECTED
If QMI_DMS_POWER_STATE_BATTERY_CHARGING is set, the battery is being charged; otherwise the battery is not being charged.
QMI_DMS_POWER_STATE_BATTERY_CHARGING
If QMI_DMS_POWER_STATE_FAULT is set, a power fault has been detected.
QMI_DMS_POWER_STATE_FAULT
Battery is currently being charged.
Battery is connected.
Powered by an external source.
Recognized power fault.
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.