44 #define BATTERY_STATUS_BATTERY_WARNING_NONE 0 45 #define BATTERY_STATUS_BATTERY_WARNING_LOW 1 46 #define BATTERY_STATUS_BATTERY_WARNING_CRITICAL 2 47 #define BATTERY_STATUS_BATTERY_WARNING_EMERGENCY 3 48 #define BATTERY_STATUS_BATTERY_WARNING_FAILED 4 69 float voltage_cell_v[4];
85 static constexpr uint8_t BATTERY_WARNING_NONE = 0;
86 static constexpr uint8_t BATTERY_WARNING_LOW = 1;
87 static constexpr uint8_t BATTERY_WARNING_CRITICAL = 2;
88 static constexpr uint8_t BATTERY_WARNING_EMERGENCY = 3;
89 static constexpr uint8_t BATTERY_WARNING_FAILED = 4;
float max_cell_voltage_delta
API for the uORB lightweight object broker.
ORB_DECLARE(battery_status)
uint16_t run_time_to_empty
uint16_t average_time_to_empty