@riddix/hamh 2.1.0-alpha.373 → 2.1.0-alpha.375

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -165219,7 +165219,7 @@ var PowerSourceServerBase = class extends FeaturedBase {
165219
165219
  }
165220
165220
  let batChargeState = PowerSource3.BatChargeState.Unknown;
165221
165221
  if (isCharging2 === true) {
165222
- batChargeState = PowerSource3.BatChargeState.IsCharging;
165222
+ batChargeState = batteryPercent != null && batteryPercent >= 100 ? PowerSource3.BatChargeState.IsAtFullCharge : PowerSource3.BatChargeState.IsCharging;
165223
165223
  } else if (isCharging2 === false) {
165224
165224
  batChargeState = PowerSource3.BatChargeState.IsNotCharging;
165225
165225
  }