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 | |
---|---|---|
Equals | (Inherited from Object.) | |
GetChargerModel | Retrieves an object that describes the battery charger model. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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. | |
ReferenceEquals | (Inherited from Object.) | |
StateOfCharge | Gets the battery's current recharging status. | |
ToString | (Inherited from Object.) | |
WaitForEvent | Pauses execution for a specified amount of time and waits for a battery event. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |