PowerGridData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |