Vixen
02b45cc4
csharp
public enum ThermalState

How hot the device is, as the OS grades it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The four levels are Apple's NSProcessInfoThermalState and map onto Android's PowerManager thermal statuses closely enough to share a vocabulary. Desktops report Nominal and mean it; phones spend a surprising amount of a long session above it, which is why a quality-scaling policy that only reads frame time reacts a minute late.

Fields and properties (4)

  • Nominal

    Cool, or not reported.

  • Fair

    Warm. Fans are audible; nothing has been throttled yet.

  • Serious

    Hot. The OS has begun throttling, and the frame budget is smaller than it was.

  • Critical

    Very hot. The OS will start suspending things, ours included.

Used by (10)

  • DesktopPlatformTestsVixen.Platform.Desktop.Tests
  • DesktopPowerInfoVixen.Platform.Desktop
  • HeadlessLifecycleTestsVixen.Platform.Headless.Tests
  • HeadlessPowerInfoVixen.Platform.Headless
  • IPowerInfoVixen.Platform
  • LinuxPowerInfoVixen.Platform.Linux
  • MacOSPowerInfoVixen.Platform.MacOS
  • NothingPowerInfoVixen.Platform.Desktop.Tests
  • NothingPowerInfoVixen.Platform.MacOS.Tests
  • WindowsPowerInfoVixen.Platform.Windows