PowerGridData Class

Definition

Represents the signals that can be used to determine what times are best to time-shift work to.

public ref class PowerGridData sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Power.PowerGridApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PowerGridData final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Power.PowerGridApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PowerGridData
Public NotInheritable Class PowerGridData
Inheritance
Object Platform::Object IInspectable PowerGridData
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.26100.0)
API contract
Windows.Devices.Power.PowerGridApiContract (introduced in v1.0)

Properties

IsLowUserExperienceImpact

Gets a value indicating whether Windows predicts that the user will be away from their device, or not doing resource-intensive work. When making a decision about what time to time-shift a workload to, you can use this value to determine when you'll have the least impact on user experience.

Severity

Gets a value indicating whether a time is considered anywhere from "good" to "bad". You should optimize to run workloads at the lowest severity, but you might have other factors that you need to consider.

Applies to