explicitly disable branches of the hardware tree that are not needed, hopefully reduce memory footprint a bit

This commit is contained in:
2026-01-19 02:45:24 +01:00
parent b8d5e25352
commit f21269daa5

View File

@@ -34,6 +34,13 @@ public class Telemetry : IDisposable
computer.IsCpuEnabled = true;
computer.IsGpuEnabled = true;
computer.IsMemoryEnabled = true;
// Disable everything else (true minimal mode)
computer.IsMotherboardEnabled = false;
computer.IsControllerEnabled = false;
computer.IsNetworkEnabled = false;
computer.IsStorageEnabled = false;
computer.IsBatteryEnabled = false;
computer.Open();
CacheHardwareAndSensors();