{
    "version":      1,
    "fileType":     "FactMetaData",
    "QGC.MetaData.Facts":
[
{
    "name":             "id",
    "shortDesc":        "Battery Id",
    "type":             "uint8"
},
{
    "name":             "batteryFunction",
    "shortDesc":        "Battery Function",
    "type":             "uint8",
    "enumStrings":      "n/a,All Flight Systems,Propulsion,Avionics,Payload",
    "enumValues":       "0,1,2,3,4",
    "decimalPlaces":    0
},
{
    "name":             "batteryType",
    "shortDesc":        "Battery Type",
    "type":             "uint8",
    "enumStrings":      "n/a,LIPO,LIFE,LION,NIMH",
    "enumValues":       "0,1,2,3,4",
    "decimalPlaces":    0
},
{
    "name":             "voltage",
    "shortDesc":        "Voltage",
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "v"
},
{
    "name":             "percentRemaining",
    "shortDesc":        "Percent",
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "%"
},
{
    "name":             "mahConsumed",
    "shortDesc":        "Consumed",
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "mAh"
},
{
    "name":             "current",
    "shortDesc":        "Current",
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "A"
},
{
    "name":             "temperature",
    "shortDesc":        "Temperature",
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "C"
},
{
    "name":             "instantPower",
    "shortDesc":        "Watts",
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "W"
},
{
    "name":             "timeRemaining",
    "shortDesc":        "Time Remaining",
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "s"
},
{
    "name":             "timeRemainingStr",
    "shortDesc":        "Time Remaining",
    "type":             "string"
},
{
    "name":             "chargeState",
    "shortDesc":        "Charge State",
    "type":             "uint8",
    "enumStrings":      "n/a,Ok,Low,Critical,Emergency,Failed,Unhealthy,Charging",
    "enumValues":       "0,1,2,3,4,5,6,7",
    "decimalPlaces":    0
}
]
}
