1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 22:19:00 +00:00

feat: Display system, adapter, and battery power metrics in status view

This commit is contained in:
Tw93
2025-12-22 19:30:35 +08:00
parent 81d4f7cb08
commit f410f356df
6 changed files with 96 additions and 34 deletions

View File

@@ -118,10 +118,13 @@ type BatteryStatus struct {
}
type ThermalStatus struct {
CPUTemp float64
GPUTemp float64
FanSpeed int
FanCount int
CPUTemp float64
GPUTemp float64
FanSpeed int
FanCount int
SystemPower float64 // System power consumption in Watts
AdapterPower float64 // AC adapter max power in Watts
BatteryPower float64 // Battery charge/discharge power in Watts (positive = discharging)
}
type SensorReading struct {