WindowsDevicePortalWrapper  0.9.0.0
A client library that wraps the Windows Device Portal REST APIs.
Properties | List of all members
Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState Class Reference

Battery state. More...

Properties

bool IsOnAcPower [get]
 Gets a value indicating whether the device is on AC power. More...
 
bool IsBatteryPresent [get]
 Gets a value indicating whether a battery is present. More...
 
bool IsCharging [get]
 Gets a value indicating whether the device is charging. More...
 
int DefaultAlert1 [get]
 Gets the default alert. More...
 
int DefaultAlert2 [get]
 Gets the default alert. More...
 
uint EstimatedTimeRaw [get]
 Gets estimated battery time. More...
 
int MaximumCapacity [get]
 Gets maximum capacity. More...
 
int RemainingCapacity [get]
 Gets remaining capacity. More...
 
float Level [get]
 Gets the battery level as a percentage of the maximum capacity. More...
 

Detailed Description

Battery state.

Property Documentation

int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.DefaultAlert1
get

Gets the default alert.

int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.DefaultAlert2
get

Gets the default alert.

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

Gets maximum capacity.

int Microsoft.Tools.WindowsDevicePortal.DevicePortal.BatteryState.RemainingCapacity
get

Gets remaining capacity.


The documentation for this class was generated from the following file: