Google Chrome · Schema
BatteryStatusReport
Battery status report at a point in time.
BrowserChrome ExtensionsDeveloper ToolsWeb Platform
Properties
| Name | Type | Description |
|---|---|---|
| reportTime | string | Timestamp of the report. |
| batteryHealth | string | Battery health status. |
| cycleCount | integer | Number of battery charge cycles. |
| fullChargeCapacity | string | Full charge capacity in milliamp hours. |
| chargeRate | integer | Charge rate in milliwatts. |
| dischargeRate | integer | Discharge rate in milliwatts. |
| voltage | string | Battery voltage in volts. |
| sample_frequency | string | Sampling frequency of the report. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BatteryStatusReport",
"title": "BatteryStatusReport",
"type": "object",
"description": "Battery status report at a point in time.",
"properties": {
"reportTime": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the report."
},
"batteryHealth": {
"type": "string",
"description": "Battery health status.",
"enum": [
"BATTERY_HEALTH_UNSPECIFIED",
"BATTERY_HEALTH_NORMAL",
"BATTERY_REPLACE_SOON",
"BATTERY_REPLACE_NOW"
]
},
"cycleCount": {
"type": "integer",
"description": "Number of battery charge cycles."
},
"fullChargeCapacity": {
"type": "string",
"format": "int64",
"description": "Full charge capacity in milliamp hours."
},
"chargeRate": {
"type": "integer",
"description": "Charge rate in milliwatts."
},
"dischargeRate": {
"type": "integer",
"description": "Discharge rate in milliwatts."
},
"voltage": {
"type": "string",
"format": "double",
"description": "Battery voltage in volts."
},
"sample_frequency": {
"type": "string",
"description": "Sampling frequency of the report."
}
}
}