Battery Members
The following tables list the members exposed by the Battery type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
Battery | Constructs and initializes a Battery object. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
GetChargerModel | Retrieves an object that describes the battery charger model. |
![]() |
IsFullyCharged | Gets the amount of battery life remaining, as a percentage. |
![]() |
OnCharger | Returns a value that indicates whether the hardware is connected to a battery charger. |
![]() |
ReadTemperature | Gets a current temperature reading for the battery. |
![]() |
ReadVoltage | Gets a voltage reading for the battery. |
![]() |
StateOfCharge | Gets the battery's current recharging status. |
![]() |
WaitForEvent | Pauses execution for a specified amount of time and waits for a battery event. |
.gif)
.gif)