Watch display shows if glasses are charging or silent mode

This commit is contained in:
James Babcock committed 2026-08-28 18:36:35 -07:00
1 parent ed8302bc6b
commit 6cd7d5fff9
10 files changed
+122 -20

No files matched your search

+5 -2
View File
@@ -102,6 +102,8 @@ export type WearRemoteHost = {
status: string;
glassesLocked: boolean;
glassesWorn: boolean | null;
silentMode: boolean;
lastHeadsetBattery: number | null;
};
appendLog: (line: string) => void;
};
@@ -196,8 +198,9 @@ export class WearRemote {
locked: state.glassesLocked,
worn: state.glassesWorn,
listening: voiceActivity.isActive(),
battery: battery.headset,
charging: battery.headsetCharging === true,
battery: state.lastHeadsetBattery,
charging: state.phase === "charging" || battery.headsetCharging === true,
silentMode: state.silentMode,
foreground: foreground ? { appId: foreground.appId, title: foreground.title } : null,
windows: shell.getWindows().map((window) => ({
windowId: window.windowId,