diff --git a/gui/src/components/tracker/TrackerBattery.tsx b/gui/src/components/tracker/TrackerBattery.tsx
index b839abb94..d867f63e3 100644
--- a/gui/src/components/tracker/TrackerBattery.tsx
+++ b/gui/src/components/tracker/TrackerBattery.tsx
@@ -8,6 +8,7 @@ export function TrackerBattery({
voltage,
runtime,
disabled,
+ moreInfo = false,
textColor = 'primary',
}: {
/**
@@ -17,6 +18,7 @@ export function TrackerBattery({
voltage?: number | null;
runtime?: bigint | null;
disabled?: boolean;
+ moreInfo?: boolean;
textColor?: string;
}) {
const { currentLocales } = useLocaleConfig();
@@ -30,7 +32,8 @@ export function TrackerBattery({
});
const charging = (voltage || 0) > 4.3;
- const showVoltage = voltage && config?.debug;
+ const debug = config?.debug || config?.devSettings.moreInfo;
+ const showVoltage = moreInfo && voltage && debug;
return (
@@ -47,7 +50,7 @@ export function TrackerBattery({
'min'}
)}
- {!charging && (!runtime || showVoltage) && (
+ {!charging && (!runtime || debug) && (
{percentFormatter.format(value)}
diff --git a/gui/src/components/tracker/TrackerCard.tsx b/gui/src/components/tracker/TrackerCard.tsx
index a016f65dc..a5e63d0a1 100644
--- a/gui/src/components/tracker/TrackerCard.tsx
+++ b/gui/src/components/tracker/TrackerCard.tsx
@@ -53,6 +53,7 @@ function TrackerBig({
value={device.hardwareStatus.batteryPctEstimate / 100}
runtime={device.hardwareStatus.batteryRuntimeEstimate}
disabled={tracker.status === TrackerStatusEnum.DISCONNECTED}
+ moreInfo={true}
/>
)}
diff --git a/gui/src/components/tracker/TrackersTable.tsx b/gui/src/components/tracker/TrackersTable.tsx
index 55967fda4..de165246c 100644
--- a/gui/src/components/tracker/TrackersTable.tsx
+++ b/gui/src/components/tracker/TrackersTable.tsx
@@ -231,6 +231,7 @@ function Row({
voltage={device.hardwareStatus.batteryVoltage}
runtime={device.hardwareStatus.batteryRuntimeEstimate}
disabled={tracker.status === TrackerStatusEnum.DISCONNECTED}
+ moreInfo={config?.devSettings.moreInfo}
textColor={fontColor}
/>
)}