Battery state.
More...
int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.DefaultAlert1 |
|
get |
int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.DefaultAlert2 |
|
get |
uint Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.EstimatedTimeRaw |
|
get |
Gets estimated battery time.
bool Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.IsBatteryPresent |
|
get |
Gets a value indicating whether a battery is present.
bool Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.IsCharging |
|
get |
Gets a value indicating whether the device is charging.
bool Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.IsOnAcPower |
|
get |
Gets a value indicating whether the device is on AC power.
float Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.Level |
|
get |
Gets the battery level as a percentage of the maximum capacity.
int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.MaximumCapacity |
|
get |
int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.RemainingCapacity |
|
get |
The documentation for this class was generated from the following file:
- WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/Power.cs