BatteryFact.json 1.32 KB
Newer Older
Don Gagne's avatar
Don Gagne committed
1 2 3 4 5
{
    "version": 1,

    "properties": [
        {
Don Gagne's avatar
Don Gagne committed
6 7
            "name":             "voltage",
            "shortDescription": "Voltage",
Don Gagne's avatar
Don Gagne committed
8
            "type":             "double",
Don Gagne's avatar
Don Gagne committed
9 10
            "decimalPlaces":    2,
            "units":            "v"
Don Gagne's avatar
Don Gagne committed
11 12
        },
        {
Don Gagne's avatar
Don Gagne committed
13 14 15
            "name":             "percentRemaining",
            "shortDescription": "Percent",
            "type":             "int32",
Don Gagne's avatar
Don Gagne committed
16
            "decimalPlaces":    0,
Don Gagne's avatar
Don Gagne committed
17
            "units":            "%"
Don Gagne's avatar
Don Gagne committed
18 19
        },
        {
Don Gagne's avatar
Don Gagne committed
20 21 22 23 24
            "name":             "mahConsumed",
            "shortDescription": "Consumed",
            "type":             "int32",
            "decimalPlaces":    0,
            "units":            "mAh"
Don Gagne's avatar
Don Gagne committed
25 26
        },
        {
Don Gagne's avatar
Don Gagne committed
27 28 29 30 31
            "name":             "current",
            "shortDescription": "Current",
            "type":             "int32",
            "decimalPlaces":    0,
            "units":            "mA"
Don Gagne's avatar
Don Gagne committed
32 33
        },
        {
Don Gagne's avatar
Don Gagne committed
34 35 36 37 38
            "name":             "temperature",
            "shortDescription": "Temperature",
            "type":             "int32",
            "decimalPlaces":    2,
            "units":            "C"
Don Gagne's avatar
Don Gagne committed
39 40
        },
        {
Don Gagne's avatar
Don Gagne committed
41 42 43 44
            "name":             "cellCount",
            "shortDescription": "Cell Count",
            "type":             "int32",
            "decimalPlaces":    0
Don Gagne's avatar
Don Gagne committed
45 46 47
        }
    ]
}