mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added Thunderbolt power and current sensors (#2350)
This commit is contained in:
@@ -468,6 +468,8 @@ internal let SensorsList: [Sensor] = [
|
||||
Sensor(key: "ID0R", name: "DC In", group: .sensor, type: .current, platforms: Platform.all),
|
||||
Sensor(key: "IBAC", name: "Battery", group: .sensor, type: .current, platforms: Platform.all),
|
||||
Sensor(key: "IDBR", name: "Brightness", group: .sensor, type: .current, platforms: Platform.all),
|
||||
Sensor(key: "IU1R", name: "Thunderbolt Left", group: .sensor, type: .current, platforms: Platform.all),
|
||||
Sensor(key: "IU2R", name: "Thunderbolt Right", group: .sensor, type: .current, platforms: Platform.all),
|
||||
|
||||
// Power
|
||||
Sensor(key: "PC0C", name: "CPU Core", group: .CPU, type: .power, platforms: Platform.all),
|
||||
@@ -493,6 +495,9 @@ internal let SensorsList: [Sensor] = [
|
||||
Sensor(key: "PMTR", name: "Memory Total", group: .sensor, type: .power, platforms: Platform.all),
|
||||
Sensor(key: "PSTR", name: "System Total", group: .sensor, type: .power, platforms: Platform.all),
|
||||
|
||||
Sensor(key: "PU1R", name: "Thunderbolt Left", group: .sensor, type: .power, platforms: Platform.all),
|
||||
Sensor(key: "PU2R", name: "Thunderbolt Right", group: .sensor, type: .power, platforms: Platform.all),
|
||||
|
||||
Sensor(key: "PDBR", name: "Power Delivery Brightness", group: .sensor, type: .power, platforms: [.m1, .m1Pro, .m1Max, .m1Ultra])
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user