ExtendedBatteryStatus constructor
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,
- int? batteryUsageNumber,
- int? batteryErrorStatus,
- int? batteryType,
- int? batteryUsageDecommissionThreshold,
- String? zcmMode,
- int? shutdownLevel,
- bool? zcmEnabled,
- double? maxDischargeTempShutdownLevel,
- int? adjustShutdownLevel,
- int? lowLevel,
- int? ratedCapacity,
- DateTime? mfd,
- String? zcmExtra,
- int? baseCumulativeCharge,
- String? partNumber,
- int? criticalLevel,
- double? minDischargeTempShutdownLevel,
- String? serialNumber,
- int? batteryDecommission,
- int? totalCumulativeCharge,
- int? secondsSinceFirstUse,
- int? presentCapacity,
- int? healthPercentage,
- int? timeToEmpty,
- int? timeToFull,
- int? presentCharge,
- int? currentEvent,
- int? miscEvent,
- int? online,
- int? pogoPlugged,
- int? capacity,
- int? currentNow,
- int? chargeType,
- bool? hvCharger,
- bool? powerSharing,
- int? chargerType,
- double? minBatteryTemp,
- double? maxBatteryTemp,
- int? batteryPercentDecommissionThreshold,
- int? chargingDuration,
- int? timeSinceLastCharge,
- int? lastChargeLength,
- int? timeRemaining,
- int? rebootCount,
- int? deviceOffDuration,
- int? deviceOnDuration,
- int? timeSinceLastFullCharge,
- int? backupPowerType,
- bool? usbLiquidStatus,
- int? backupBatteryVoltage,
- bool? batterySwapping,
- Map<
String, dynamic> ? extraMap, - String? intentLog,
Implementation
ExtendedBatteryStatus({
required this.status,
required this.health,
required this.capacityLevel,
required this.temperature,
required this.voltage,
required this.technology,
required this.present,
required this.cycleCount,
required this.chargingStatus,
required this.plugged,
required this.chargeCounter,
required this.level,
required this.scale,
required this.batteryLow,
required this.seq,
required this.iconSmall,
required this.maxChargingVoltage,
required this.maxChargingCurrent,
required this.invalidCharger,
required this.deviceManufacturer,
// Zebra specific
this.batteryUsageNumber,
this.batteryErrorStatus,
this.batteryType,
this.batteryUsageDecommissionThreshold,
this.zcmMode,
this.shutdownLevel,
this.zcmEnabled,
this.maxDischargeTempShutdownLevel,
this.adjustShutdownLevel,
this.lowLevel,
this.ratedCapacity,
this.mfd,
this.zcmExtra,
this.baseCumulativeCharge,
this.partNumber,
this.criticalLevel,
this.minDischargeTempShutdownLevel,
this.serialNumber,
this.batteryDecommission,
this.totalCumulativeCharge,
this.secondsSinceFirstUse,
this.presentCapacity,
this.healthPercentage,
this.timeToEmpty,
this.timeToFull,
this.presentCharge,
this.currentEvent,
this.miscEvent,
this.online,
this.pogoPlugged,
this.capacity,
this.currentNow,
this.chargeType,
this.hvCharger,
this.powerSharing,
this.chargerType,
this.minBatteryTemp,
this.maxBatteryTemp,
this.batteryPercentDecommissionThreshold,
this.chargingDuration,
this.timeSinceLastCharge,
this.lastChargeLength,
this.timeRemaining,
this.rebootCount,
this.deviceOffDuration,
this.deviceOnDuration,
this.timeSinceLastFullCharge,
this.backupPowerType,
this.usbLiquidStatus,
// Honeywell & Zebra specific
this.backupBatteryVoltage,
// Honeywell specific
this.batterySwapping,
this.extraMap,
this.intentLog,
});