ExtendedBatteryStatus class
Constructors
-
ExtendedBatteryStatus({required BatteryStatus status, required BatteryHealth health, required BatteryCapacityLevel capacityLevel, required double temperature, required double voltage, required String technology, required bool present, required int cycleCount, required int chargingStatus, required int plugged, required int chargeCounter, required int level, required int scale, required bool batteryLow, required int seq, required int iconSmall, required int maxChargingVoltage, required int maxChargingCurrent, required int invalidCharger, required String deviceManufacturer, required int? batteryUsageNumber, required int? batteryErrorStatus, required int? batteryType, required int? batteryUsageDecommissionThreshold, required String? zcmMode, required int? shutdownLevel, required bool? zcmEnabled, required double? maxDischargeTempShutdownLevel, required int? adjustShutdownLevel, required int? lowLevel, required int? ratedCapacity, required DateTime? mfd, required String? zcmExtra, required int? baseCumulativeCharge, required String? partNumber, required int? criticalLevel, required double? minDischargeTempShutdownLevel, required String? serialNumber, required int? batteryDecommission, required int? totalCumulativeCharge, required int? secondsSinceFirstUse, required int? presentCapacity, required int? healthPercentage, required int? timeToEmpty, required int? timeToFull, required int? presentCharge, required int? currentEvent, required int? miscEvent, required int? online, required int? pogoPlugged, required int? capacity, required int? currentNow, required int? chargeType, required bool? hvCharger, required bool? powerSharing, required int? chargerType, required double? minBatteryTemp, required double? maxBatteryTemp, required int? batteryPercentDecommissionThreshold, required int? chargingDuration, required int? timeSinceLastCharge, required int? lastChargeLength, required int? timeRemaining, required int? rebootCount, required int? deviceOffDuration, required int? deviceOnDuration, required int? timeSinceLastFullCharge, required int? backupPowerType, required bool? usbLiquidStatus, required int? backupBatteryVoltage, required bool? batterySwapping, required Map<
String, dynamic> ? extraMap, required String? intentLog}) -
ExtendedBatteryStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adjustShutdownLevel → int?
-
final
- backupBatteryVoltage → int?
-
final
- backupPowerType → int?
-
final
- baseCumulativeCharge → int?
-
final
- batteryDecommission → int?
-
final
- batteryDecommissionStatus → BatteryDecommissionStatus?
-
no setter
- batteryDecommissionThreshold → double?
-
no setter
- batteryErrorStatus → int?
-
final
- batteryLow → bool
-
final
- batteryPercentage → int
-
no setter
- batteryPercentDecommissionThreshold → int?
-
final
- batterySwapping → bool?
-
final
- batteryType → int?
-
final
- batteryUsageDecommissionThreshold → int?
-
final
- batteryUsageNumber → int?
-
final
- capacity → int?
-
final
- capacityLevel → BatteryCapacityLevel
-
final
- chargeCounter → int
-
final
- chargerType → int?
-
final
- chargeType → int?
-
final
- chargingDuration → int?
-
final
- chargingStatus → int
-
final
- createdAt → DateTime
-
final
- criticalLevel → int?
-
final
- currentEvent → int?
-
final
- currentNow → int?
-
final
- cycleCount → int
-
final
- deviceManufacturer → String
-
final
- deviceOffDuration → int?
-
final
- deviceOnDuration → int?
-
final
-
extraMap
→ Map<
String, dynamic> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- health → BatteryHealth
-
final
- healthPercentage → int?
-
final
- hvCharger → bool?
-
final
- iconSmall → int
-
final
- intentLog → String?
-
final
- invalidCharger → int
-
final
- isHoneywell → bool
-
no setter
- isZebra → bool
-
no setter
- lastChargeLength → int?
-
final
- level → int
-
final
- lowLevel → int?
-
final
- maxBatteryTemp → double?
-
final
- maxChargingCurrent → int
-
final
- maxChargingVoltage → int
-
final
- maxDischargeTempShutdownLevel → double?
-
final
- mfd ↔ DateTime?
-
getter/setter pair
- minBatteryTemp → double?
-
final
- minDischargeTempShutdownLevel → double?
-
final
- miscEvent → int?
-
final
- online → int?
-
final
- partNumber → String?
-
final
- plugged → int
-
final
- pluggedStatus → BatteryPluggedStatus
-
no setter
- pogoPlugged → int?
-
final
- powerSharing → bool?
-
final
- present → bool
-
final
- presentCapacity → int?
-
final
- presentCharge → int?
-
final
- ratedCapacity → int?
-
final
- rebootCount → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int
-
final
- secondsSinceFirstUse → int?
-
final
- seq → int
-
final
- serialNumber → String?
-
final
- shutdownLevel → int?
-
final
- status → BatteryStatus
-
final
- technology → String
-
final
- temperature → double
-
final
- timeRemaining → int?
-
final
- timeSinceLastCharge → int?
-
final
- timeSinceLastFullCharge → int?
-
final
- timeToEmpty → int?
-
final
- timeToFull → int?
-
final
- totalCumulativeCharge → int?
-
final
- usbLiquidStatus → bool?
-
final
- voltage → double
-
final
- zcmEnabled → bool?
-
final
- zcmExtra → String?
-
final
- zcmMode → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override