From 612a8da0f798963052afff4490eb66c85cb20b6a Mon Sep 17 00:00:00 2001 From: csawatzky Date: Mon, 29 Sep 2025 14:25:50 -0600 Subject: [PATCH] fix power chip saying not charging when it is actually charging --- src/pbHelpers/Power.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pbHelpers/Power.tsx b/src/pbHelpers/Power.tsx index 67bb45b..2b28944 100644 --- a/src/pbHelpers/Power.tsx +++ b/src/pbHelpers/Power.tsx @@ -72,7 +72,8 @@ export function describePower(power?: pond.DevicePower | null): PowerDescriber { } else { let thresholds = notChargingThresholds; let suffix = "not charging"; - if (power.inputVoltage >= 4) { + //Ashton tells me that with the new battery that any voltage over 2.8 is charging and it maxes out at 4.2 volts, so dropping it down here as the chip would say not charging when it really was + if (power.inputVoltage >= 2.8) { thresholds = chargingThresholds; if (power.chargePercent === 100) { suffix = "charged";