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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user