From f0037673637c67988eec8f3a96a02e282ac14d3d Mon Sep 17 00:00:00 2001 From: Timothy Scott Date: Fri, 7 Feb 2020 07:17:08 +0100 Subject: [PATCH] Updated battery status message (#1299) Co-authored-by: Hamish Willee --- message_definitions/v1.0/common.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index a4aeadc6e7..0ee0de2692 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -4793,7 +4793,7 @@ Function of the battery Type (chemistry) of the battery Temperature of the battery. INT16_MAX for unknown temperature. - Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value. + Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value. If individual cell voltages are unknown or not measured for this battery, then the overall battery voltage should be filled in cell 0, with all others set to UINT16_MAX. If the voltage of the battery is greater than (UINT16_MAX - 1), then cell 0 should be set to (UINT16_MAX - 1), and cell 1 to the remaining voltage. This can be extended to multiple cells if the total voltage is greater than 2 * (UINT16_MAX - 1). Battery current, -1: autopilot does not measure the current Consumed charge, -1: autopilot does not provide consumption estimate Consumed energy, -1: autopilot does not provide energy consumption estimate