pilot.PowerState

Class

PowerState contains information about the platform’s power supply.

Fields

power_system_type_e power_system_type

Type of power system, see pilot.power_system_type_e.

charging_state_e charging_state

Current charging state, see pilot.charging_state_e.

bool is_charging

If charging is enabled.