You’ve just fitted fresh batteries in your APC Smart-UPS, but PowerChute still reports a few minutes of runtime, the battery LEDs keep flashing, and the software insists the battery is discharged. The batteries are usually fine. The problem is a value stored in the UPS’s EEPROM, the battery constant, which the UPS uses to estimate runtime. If that value is wrong, the runtime prediction will be wrong, however good the batteries are.
This article shows how to check that value and correct it through the UPS’s serial “PROG” mode.
Symptoms
Use this solution if your APC Smart-UPS shows one or more of the following:
- PowerChute shows the UPS runtime is much lower than it should be.
- You replaced the UPS batteries with new ones and the runtime is still very low.
- The battery LEDs are flashing or blinking and the UPS isn’t overloaded.
- PowerChute reports that the “UPS battery is discharged”.
Before you start
1. Check that your UPS is compatible
This procedure applies to classic APC Smart-UPS models (SU / SUA series) that use APC’s RS-232 “smart” signalling protocol.
- It does not apply to Back-UPS models.
- Early (2nd-generation, c. 1992–1996) Smart-UPS units do not accept the PROG-mode sequence described here.
- Newer Smart-UPS families (e.g. SMT/SMX) are not covered by this procedure.
2. Try the official fix first: runtime calibration
Before editing anything, let the new batteries charge for at least 24 hours, then run a runtime calibration from PowerChute (or from the Network Management Card, if fitted). This is APC’s documented fix and often solves the problem. Use the procedure below only if calibration doesn’t help.
3. What you’ll need
- An APC Smart Signalling serial cable, part number 940-0024 (the black one). The grey 940-0020 is a “simple signalling” cable and will not work. Never use a generic PC serial cable: on a Smart-UPS it can switch the UPS off, and everything plugged into it.
- A PC with a serial port, or a USB-to-serial adapter.
- A serial terminal program, such as PuTTY. (HyperTerminal is no longer included in current versions of Windows.)
- The correct battery constant for your model. See the note in step 7.
Disclaimer: This is an undocumented service procedure. You change the UPS’s internal settings at your own risk. It may affect your warranty, and a wrong value will give wrong runtime estimates and may cause the UPS to shut down your equipment early. Write down the original value before you change anything, so you can put it back.
Step-by-step repair
Prepare the connection
- Close the PowerChute software and stop the PowerChute service (e.g. “APC – UPS PowerChute”) so it releases the serial port.
- Connect the black 940-0024 cable between the UPS and the PC’s serial port.
- Open your terminal program and configure the serial port as follows: 2400 baud, 8 data bits, no parity, 1 stop bit, flow control Xon/Xoff.
Enter programming mode and read the current value
- You should see an empty window. Type an uppercase
Y(Shift + Y). The UPS answersSM(smart mode). Commands are case-sensitive. - Type
1, wait about 2 to 4 seconds (two cursor flashes or a little more), then type1again. - The UPS answers
PROG. If you don’t getPROG, repeat step 5 with a slightly longer pause. - Type
0(zero). The UPS reports its current battery constant as a two-digit hexadecimal value. Write this value down.- The original source of this procedure gives
8Cas the value of a “perfect running” UPS. However, the correct value varies by model. For example, APC support quotedAFfor an SU2200NET. Confirm the correct value for your model with APC/Schneider Electric support before changing it.
- The original source of this procedure gives
Change the value
- Press, or press and hold, the
-(minus) key to cycle through the possible values until the correct one for your model is shown. - Press the
+(plus) key once to confirm the selected value. - Type an uppercase
R(Shift + R). The UPS answersBYEand leaves smart mode.
Verify
- Type
Yagain, then0. The UPS should report the new value.- If it does, the change was saved. Type
Rto exit. - If it doesn’t, repeat steps 4 to 10.
- If it does, the change was saved. Type
Put everything back
- Close the terminal program and reconnect the serial or USB cable to the machine that runs PowerChute.
- Restart the PowerChute service and open PowerChute again. Your UPS should now show the correct runtime. For best accuracy, run a runtime calibration once the batteries are fully charged.
Troubleshooting
No SM response after typing Y Check that you are using the black 940-0024 cable and the right COM port. Confirm that PowerChute is fully stopped and the settings are 2400-8-N-1. Make sure the Y is uppercase.
PROG never appears The timing between the two 1s matters. Try a slightly longer pause. If it still fails, your model may not support PROG mode (see “Check that your UPS is compatible”).
The UPS answers NO when you press - or + The UPS is refusing the change. This usually means that model or firmware doesn’t allow the value to be edited this way.
Runtime is still low after the fix Let the batteries charge fully (24 hours) and run a runtime calibration. Also check that the replacement batteries match the original specification and that the load is what you expect. If the runtime is still low after that, suspect the batteries or the charger.
Credits
Thanks to Joeteck’s PC Services for this APC UPS Fix, which they credit to APC technical support (2006). This solution is a lifesaver for a lot of APC UPS units.
Further reading: