Vixen
02b45cc4
csharp
public sealed class HeadlessPowerInfo

Mains power, room temperature, no battery.

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

Remarks

What a rack-mounted server truthfully reports. Thermal throttling on a server is real, but it is the data-centre's business and not visible to a process, so Thermal stays nominal rather than guessing.

Fields and properties (5)

  • public PowerSource Source

    Where power is coming from.

  • public float? BatteryLevel

    How full the battery is, [0, 1], or if there is no battery or the platform will not say.

  • public TimeSpan? EstimatedTimeRemaining

    How long the platform thinks the battery will last, or if it does not estimate.

  • public ThermalState Thermal

    How hot the device is.

  • public bool IsLowPowerMode

    Whether the user has asked the OS to save power.

Used by (1)

  • HeadlessPlatformVixen.Platform.Headless