From c37f022529804dc50cee1e68eb0a36a9689ce38e Mon Sep 17 00:00:00 2001 From: Tw93 Date: Thu, 11 Dec 2025 06:24:53 +0000 Subject: [PATCH] chore: auto format code --- cmd/status/view.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/status/view.go b/cmd/status/view.go index 4d5be74..109ecef 100644 --- a/cmd/status/view.go +++ b/cmd/status/view.go @@ -539,7 +539,7 @@ func renderBatteryCard(batts []BatteryStatus, thermal ThermalStatus) cardData { if b.CycleCount > 0 { healthParts = append(healthParts, fmt.Sprintf("%d cycles", b.CycleCount)) } - + // Add temperature if available if thermal.CPUTemp > 0 { tempStyle := subtleStyle @@ -550,12 +550,12 @@ func renderBatteryCard(batts []BatteryStatus, thermal ThermalStatus) cardData { } healthParts = append(healthParts, tempStyle.Render(fmt.Sprintf("%.0f°C", thermal.CPUTemp))) } - + // Add fan speed if available if thermal.FanSpeed > 0 { healthParts = append(healthParts, fmt.Sprintf("%d RPM", thermal.FanSpeed)) } - + if len(healthParts) > 0 { lines = append(lines, subtleStyle.Render(strings.Join(healthParts, " · "))) }