pilot.PowerState¶
Class¶
PowerState contains information about the platform’s power supply.
Fields¶
-
long
time
¶ POSIX timestamp in [usec].
-
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.
-
double
charging_current
¶ The charging current, if charging is enabled, in [A].