BatteryState Properties

Vista Bridge Library

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

The BatteryState type exposes the following members.

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