BatteryFact.json 1.62 KB
Newer Older
1
[
Don Gagne's avatar
Don Gagne committed
2
{
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    "name":             "voltage",
    "shortDescription": "Voltage",
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "v"
},
{
    "name":             "percentRemaining",
    "shortDescription": "Percent",
    "type":             "int32",
    "decimalPlaces":    0,
    "units":            "%"
},
{
    "name":             "mahConsumed",
    "shortDescription": "Consumed",
    "type":             "int32",
     "decimalPlaces":    0,
     "units":            "mAh"
},
{
    "name":             "current",
    "shortDescription": "Current",
26 27
    "type":             "float",
    "decimalPlaces":    2,
28
    "units":            "A"
29 30 31 32
},
{
    "name":             "temperature",
    "shortDescription": "Temperature",
33 34
    "type":             "double",
    "decimalPlaces":    0,
35 36 37 38 39 40 41
    "units":            "C"
},
{
    "name":             "cellCount",
    "shortDescription": "Cell Count",
    "type":             "int32",
    "decimalPlaces":    0
42 43 44 45 46 47 48
},
{
    "name":             "instantPower",
    "shortDescription": "Watts",
    "type":             "float",
    "decimalPlaces":    2,
    "units":            "W"
49 50 51 52 53 54 55 56 57 58 59 60 61 62
},
{
    "name":             "timeRemaining",
    "shortDescription": "Time Remaining",
    "type":             "int32",
    "units":            "s"
},
{
    "name":             "chargeState",
    "shortDescription": "Charge State",
    "type":             "uint8",
    "enumStrings":      "Low Battery State Not Provided,Normal Operation,Low Battery State,Critical Battery State,Emergency Battery State,Battery Failed,Battery Unhealthy",
    "enumValues":       "0,1,2,3,4,5,6",
    "decimalPlaces":    0
Don Gagne's avatar
Don Gagne committed
63
}
64
]