ExtendedBatteryStatus constructor

ExtendedBatteryStatus({
  1. required BatteryStatus status,
  2. required BatteryHealth health,
  3. required BatteryCapacityLevel capacityLevel,
  4. required double temperature,
  5. required double voltage,
  6. required String technology,
  7. required bool present,
  8. required int cycleCount,
  9. required int chargingStatus,
  10. required int plugged,
  11. required int chargeCounter,
  12. required int level,
  13. required int scale,
  14. required bool batteryLow,
  15. required int seq,
  16. required int iconSmall,
  17. required int maxChargingVoltage,
  18. required int maxChargingCurrent,
  19. required int invalidCharger,
  20. required String deviceManufacturer,
  21. int? batteryUsageNumber,
  22. int? batteryErrorStatus,
  23. int? batteryType,
  24. int? batteryUsageDecommissionThreshold,
  25. String? zcmMode,
  26. int? shutdownLevel,
  27. bool? zcmEnabled,
  28. double? maxDischargeTempShutdownLevel,
  29. int? adjustShutdownLevel,
  30. int? lowLevel,
  31. int? ratedCapacity,
  32. DateTime? mfd,
  33. String? zcmExtra,
  34. int? baseCumulativeCharge,
  35. String? partNumber,
  36. int? criticalLevel,
  37. double? minDischargeTempShutdownLevel,
  38. String? serialNumber,
  39. int? batteryDecommission,
  40. int? totalCumulativeCharge,
  41. int? secondsSinceFirstUse,
  42. int? presentCapacity,
  43. int? healthPercentage,
  44. int? timeToEmpty,
  45. int? timeToFull,
  46. int? presentCharge,
  47. int? currentEvent,
  48. int? miscEvent,
  49. int? online,
  50. int? pogoPlugged,
  51. int? capacity,
  52. int? currentNow,
  53. int? chargeType,
  54. bool? hvCharger,
  55. bool? powerSharing,
  56. int? chargerType,
  57. double? minBatteryTemp,
  58. double? maxBatteryTemp,
  59. int? batteryPercentDecommissionThreshold,
  60. int? chargingDuration,
  61. int? timeSinceLastCharge,
  62. int? lastChargeLength,
  63. int? timeRemaining,
  64. int? rebootCount,
  65. int? deviceOffDuration,
  66. int? deviceOnDuration,
  67. int? timeSinceLastFullCharge,
  68. int? backupPowerType,
  69. bool? usbLiquidStatus,
  70. int? backupBatteryVoltage,
  71. bool? batterySwapping,
  72. Map<String, dynamic>? extraMap,
  73. 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,
});