Enumeration

FwupdPluginPowerState

Declaration

enum FwupdPlugin.PowerState

Description [src]

The system power state.

This does not have to be exactly what the battery is doing, but is supposed to represent the 40,000ft view of the system power state.

For example, it is perfectly correct to set FU_POWER_STATE_AC if the system is connected to AC power, but the battery cells are discharging for health or for other performance reasons.

Members

Name Description
FU_POWER_STATE_UNKNOWN

Unknown.

FU_POWER_STATE_AC

On AC power.

FU_POWER_STATE_AC_CHARGING

Charging on AC.

FU_POWER_STATE_AC_FULLY_CHARGED

Fully charged on AC.

FU_POWER_STATE_BATTERY

On system battery.

FU_POWER_STATE_BATTERY_DISCHARGING

System battery discharging.

FU_POWER_STATE_BATTERY_EMPTY

System battery empty.