Skip to content
BatteryFact.json 1.49 KiB
Newer Older
Don Gagne's avatar
Don Gagne committed
{
    "name":             "voltage",
    "shortDescription": "Voltage",
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "v"
},
{
    "name":             "percentRemaining",
    "shortDescription": "Percent",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "%"
},
{
    "name":             "mahConsumed",
    "shortDescription": "Consumed",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "mAh"
},
{
    "name":             "current",
    "shortDescription": "Current",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "type":             "double",
    "decimalPlaces":    2,
},
{
    "name":             "temperature",
    "shortDescription": "Temperature",
    "units":            "C"
},
{
    "name":             "instantPower",
    "shortDescription": "Watts",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "type":             "double",
    "decimalPlaces":    2,
    "units":            "W"
},
{
    "name":             "timeRemaining",
    "shortDescription": "Time Remaining",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "type":             "double",
    "decimalPlaces":    0,
    "units":            "s"
},
{
    "name":             "chargeState",
    "shortDescription": "Charge State",
    "type":             "uint8",
DoinLakeFlyer's avatar
 
DoinLakeFlyer committed
    "enumStrings":      "n/a,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
}