BatteryFact.json 1.67 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 20
        {
            "name":             "percentRemainingAnnounce",
21
            "shortDescription": "Percent announce",
22 23 24 25 26 27 28
            "type":             "int32",
            "decimalPlaces":    0,
            "units":            "%",
            "defaultValue":     30,
            "min":              0,
            "max":              100
        },
Don Gagne's avatar
Don Gagne committed
29
        {
Don Gagne's avatar
Don Gagne committed
30 31 32 33 34
            "name":             "mahConsumed",
            "shortDescription": "Consumed",
            "type":             "int32",
            "decimalPlaces":    0,
            "units":            "mAh"
Don Gagne's avatar
Don Gagne committed
35 36
        },
        {
Don Gagne's avatar
Don Gagne committed
37 38 39 40 41
            "name":             "current",
            "shortDescription": "Current",
            "type":             "int32",
            "decimalPlaces":    0,
            "units":            "mA"
Don Gagne's avatar
Don Gagne committed
42 43
        },
        {
Don Gagne's avatar
Don Gagne committed
44 45 46 47 48
            "name":             "temperature",
            "shortDescription": "Temperature",
            "type":             "int32",
            "decimalPlaces":    2,
            "units":            "C"
Don Gagne's avatar
Don Gagne committed
49 50
        },
        {
Don Gagne's avatar
Don Gagne committed
51 52 53 54
            "name":             "cellCount",
            "shortDescription": "Cell Count",
            "type":             "int32",
            "decimalPlaces":    0
Don Gagne's avatar
Don Gagne committed
55 56 57
        }
    ]
}