mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-20 07:20:27 +01:00
Support any battery model
This commit is contained in:
parent
d7cec97ae5
commit
edbed803d1
|
|
@ -207,75 +207,30 @@ namespace PerformanceOverlay
|
|||
}
|
||||
},
|
||||
{
|
||||
"BATT_%", new CompositeSensor()
|
||||
"BATT_%", new HardwareSensor()
|
||||
{
|
||||
Sensors =
|
||||
{
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "GETAC",
|
||||
SensorType = SensorType.Level,
|
||||
SensorName = "Charge Level",
|
||||
Format = "F0"
|
||||
},
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "MWL32b",
|
||||
SensorType = SensorType.Level,
|
||||
SensorName = "Charge Level",
|
||||
Format = "F0"
|
||||
}
|
||||
}
|
||||
HardwareType = HardwareType.Battery,
|
||||
SensorType = SensorType.Level,
|
||||
SensorName = "Charge Level",
|
||||
Format = "F0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BATT_W", new CompositeSensor()
|
||||
"BATT_W", new HardwareSensor()
|
||||
{
|
||||
Sensors =
|
||||
{
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "GETAC",
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Discharge Rate",
|
||||
Format = "F1"
|
||||
},
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "MWL32b",
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Discharge Rate",
|
||||
Format = "F1"
|
||||
}
|
||||
}
|
||||
HardwareType = HardwareType.Battery,
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Discharge Rate",
|
||||
Format = "F1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BATT_CHARGE_W", new CompositeSensor()
|
||||
"BATT_CHARGE_W", new HardwareSensor()
|
||||
{
|
||||
Sensors =
|
||||
{
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "GETAC",
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Charge Rate",
|
||||
Format = "F1"
|
||||
},
|
||||
new HardwareSensor()
|
||||
{
|
||||
HardwareType = HardwareType.Battery,
|
||||
HardwareName = "MWL32b",
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Charge Rate",
|
||||
Format = "F1"
|
||||
}
|
||||
}
|
||||
HardwareType = HardwareType.Battery,
|
||||
SensorType = SensorType.Power,
|
||||
SensorName = "Charge Rate",
|
||||
Format = "F1"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
- Improve flickering of OSD
|
||||
- Add Volume Up/Down controls (disable with `EnableVolumeControl` in `PowerControl.dll.config`)
|
||||
- Add `0` brightness
|
||||
- Support any battery model
|
||||
|
||||
If you found it useful buy me [Ko-fi](https://ko-fi.com/ayufan).
|
||||
|
|
|
|||
Loading…
Reference in a new issue