BatteryState Members

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

The BatteryState type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Generates a string that represents this BatteryState object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
ACOnline
Gets a value that indicates whether the battery charger is operating on external power.
CurrentCharge
Gets the current charge of the battery (in mW).
DischargeRate
Gets the rate of discharge for the battery (in mW).
EstimatedTimeRemaining
Gets the estimated time remaining until the battery is empty.
MaxCharge
Gets the maximum charge of the battery (in mW).
SuggestedBatteryWarningCharge
Gets the manufacturer's suggested battery charge level that should cause a warning to be sent to the user.
SuggestedCriticalBatteryCharge
Gets the manufacturer's suggested battery charge level that should cause a critical alert to be sent to the user.

See Also