Battery Members

The following tables list the members exposed by the Battery type.

Public Constructors

Name Description
Public Method Battery Constructs and initializes a Battery object.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method Static GetChargerModel Retrieves an object that describes the battery charger model.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Static IsFullyCharged Gets the amount of battery life remaining, as a percentage.
Public Method Static OnCharger Returns a value that indicates whether the hardware is connected to a battery charger.
Public Method Static ReadTemperature Gets a current temperature reading for the battery.
Public Method Static ReadVoltage Gets a voltage reading for the battery.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Static StateOfCharge Gets the battery's current recharging status.
Public Method ToString (Inherited from Object.)
Public Method Static WaitForEvent Pauses execution for a specified amount of time and waits for a battery event.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Battery Class
Microsoft.SPOT.Hardware Namespace