UPS\Status Registry Entries
The following registry entries, under the UPS\Status key, must be set by UPS minidrivers.
BatteryCapacity
Value Name
BatteryCapacity
Value Type
REG_DWORD
Value
The percent of battery capacity remaining in the UPS. This percent is represented as a value in the range of 0 through 100. (The displayed value is rounded to the nearest integer.)
Default Value
0
BatteryStatus
Value Name
BatteryStatus
Value Type
REG_DWORD
Value
The current status of the UPS batteries. Values are listed in the following table.
Value | Meaning |
---|---|
0 |
The battery status is unknown. |
1 |
The batteries are OK. |
2 |
The batteries need to be replaced. |
CommStatus
Value Name
CommStatus
Value Type
REG_DWORD
Value
The status of the communication path to the UPS. Values are listed in the following table.
Value | Meaning |
---|---|
0 |
The communication path to the UPS is unknown. |
1 |
The communication path to the UPS is OK. |
2 |
The communication path to the UPS has been lost. |
FirmwareRev
Value Name
FirmwareRev
Value Type
REG_SZ
Value
Reports the UPS firmware revision as a displayable string.
Default Value:
""
SerialNumber
Value Name
SerialNumber
Value Type
REG_SZ
Value
Reports the UPS serial number as a displayable string.
Default Value:
""
TotalUPSRuntime
Value Name
TotalUPSRuntime
Value Type
REG_DWORD
Value
The amount of remaining UPS run time, in minutes.
Default Value
0
UtilityPowerStatus
Value Name
UtilityPowerStatus
Value Type
REG_DWORD
Value:
Reports the status of utility-supplied power into the UPS. Values are listed in the following table.
Value | Meaning |
---|---|
0 |
The status of utility-supplied power is unknown. |
1 |
Utility-supplied power is OK. |
2 |
A power failure has occurred. |