csharp
public sealed class HeadlessPowerInfoMains 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 SourceWhere power is coming from.
public float? BatteryLevelHow full the battery is, [0, 1], or if there is no battery or the platform will not say.
public TimeSpan? EstimatedTimeRemainingHow long the platform thinks the battery will last, or if it does not estimate.
public ThermalState ThermalHow hot the device is.
public bool IsLowPowerModeWhether the user has asked the OS to save power.
Used by (1)
- HeadlessPlatformVixen.Platform.Headless