UpsChargeStates Enumeration

Indicates the UPS charge state.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim upsChargeStates1 As UpsChargeStates = UpsChargeStates.Critical

Syntax

'Declaration
Public Enum UpsChargeStates
public enum UpsChargeStates
public enum class UpsChargeStates
public enum UpsChargeStates
public enum UpsChargeStates

Members

Member name Description
Critical UPS battery is in a critical state and can be disconnected at any time without further warning.
Full UPS battery is near full charge.
Low UPS battery is near zero charge. Application shutdown should be started to ensure that it can be completed before the battery charge is depleted. A minimum of two minutes of normal system operation can be assumed when this state is entered, unless this is the first charge state reported upon entering the "Off" power state.
Warning UPS battery is near 50% charge.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.PointOfService Namespace
CapUpsChargeState
UpsChargeState