change to ma

This commit is contained in:
legop3
2026-01-03 15:15:45 -05:00
parent c4dda507e2
commit 3c1c75a2ec
+2 -2
View File
@@ -55,8 +55,8 @@ function formatVoltage(voltageMv) {
function formatCurrent(currentMa) {
if (currentMa == null) return 'n/a';
const amps = currentMa / 1000;
return `${amps.toFixed(2)}A`;
// const amps = currentMa / 1000;
return `${currentMa}mA`;
}
function formatChargeState(batteryState) {