PowerState
PowerState
PowerState
PowerState
Enum
Definition
Represents power states for fixed-purpose devices.
public : enum class PowerStatepublic enum PowerStatePublic Enum PowerState// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows IoT Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.System.SystemManagementContract (introduced v3)
|
Fields
| ConnectedStandby ConnectedStandby ConnectedStandby ConnectedStandby | Represents the Connected Standby state. |
| SleepS3 SleepS3 SleepS3 SleepS3 | Represents the Sleep S3 state. |
Remarks
This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list. Users can add the following to their Package.appmanifest:<iot:Capability Name="systemManagement"/>, and add iot to their existing list of IgnorableNamespaces.