LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-11-2022, 09:02 AM   #1
lvm_
Member
 
Registered: Jul 2020
Posts: 936

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
UPS battery disconnected


A venerable APC Smart SUA100i first stopped logging weekly self-tests and then after a restart started logging 'Battery disconnected' messages exactly 8:02 after the apcupsd startup and nothing else after this. Otherwise works fine: no yellows or reds on the panel, can hold power failure and does weekly self-tests, just doesn't log them. Actually it was the power failure which prompted me to investigate - it worked but didn't post any alerts which made me check the log. Batteries are by no means new. So is it batteries or something worse?


Code:
2021-12-10 20:26:16 +0300  apcupsd 3.14.14 (31 May 2016) debian startup succeeded
2021-12-17 20:24:12 +0300  UPS Self Test switch to battery.
2021-12-17 20:24:23 +0300  UPS Self Test completed: Battery OK
2021-12-24 20:23:38 +0300  UPS Self Test switch to battery.
2021-12-24 20:23:45 +0300  UPS Self Test completed: Battery OK
2021-12-27 05:13:03 +0300  Power failure.
2021-12-27 05:13:06 +0300  Power is back. UPS running on mains.
2021-12-31 20:22:57 +0300  UPS Self Test switch to battery.
2021-12-31 20:23:09 +0300  UPS Self Test completed: Battery OK
2022-01-31 09:10:58 +0300  apcupsd exiting, signal 15
2022-01-31 09:11:00 +0300  apcupsd shutdown succeeded
2022-01-31 09:12:03 +0300  apcupsd 3.14.14 (31 May 2016) debian startup succeeded
2022-01-31 09:20:05 +0300  Battery disconnected.
2022-02-08 10:46:30 +0300  apcupsd exiting, signal 15
2022-02-08 10:46:31 +0300  apcupsd shutdown succeeded
2022-02-08 10:47:34 +0300  apcupsd 3.14.14 (31 May 2016) debian startup succeeded
2022-02-08 10:55:36 +0300  Battery disconnected.

Last edited by lvm_; 02-11-2022 at 09:03 AM.
 
Old 02-11-2022, 01:01 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
If you know those batteries are old then that would be the first thing to check. If new batteries do not fix it then dig deeper.

Mine (APC Smart UPS 3000) has a screen that shows info about the status including battery charge as well as using apcupsd to monitor it.

Usually when the device says the battery is disconnected it means that it is not showing a voltage on the battery and is not accepting the charge maintenance current.

Fastest test: Remove the battery and do a quick voltage check with a voltmeter. Not definitive, but will quickly show if there is an open circuit within the battery.

Another quick test: Unplug the ups from the wall and if it maintains the PC running then it is working. If not then something in it is dead.

Last edited by computersavvy; 02-11-2022 at 01:24 PM.
 
Old 02-11-2022, 01:09 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,722

Rep: Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916Reputation: 5916
Also check the UPS status

apcaccess status
 
Old 02-11-2022, 04:41 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,991

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I agree with both above.
We run hundreds of UPS's and they are more of a hassle than a solution for me.
Almost every UPS has a self test and it may be every 24 hours. As the batteries get old they may be in a state of sort of pass but not pass. That can cause the computer to reboot but the ups won't show bad battery.
Then the stupid batteries cost almost as much as a new unit so you ask yourself, buy new unit with new batteries or just get batteries.
 
Old 02-11-2022, 05:56 PM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by jefro View Post
Then the stupid batteries cost almost as much as a new unit so you ask yourself, buy new unit with new batteries or just get batteries.
I think the idea is that having a working UPS is necessary to keep critical servers from going down with short term power outages.

The cost of batteries makes a small UPS cost less than replacing the batteries, but when you get up into the 1000 VA and larger UPSes the battery cost is easily less than the UPS. I was able to get my 3000 VA UPS at an auction (new, unused, open box) and it runs my 3 systems at home for close to an hour with a power outage so it was a good investment at about 1/3 the cost of new.

To the OP: @lvm_ How long will the UPS hold power during an outage?
The logs you posted only showed a 3 second outage and that is not nearly long enough for a reasonable test under actual power failure conditions. If it lasts for as long as reasonably planned then it would seem that there is something wrong with the internal monitoring portion. If it fails quickly then it would seem to be batteries. I would suggest that you arrange a fair power failure test to evaluate the reliability of the UPS. You do not want to get caught with an actual power failure and a dead UPS.

Last edited by computersavvy; 02-11-2022 at 06:07 PM.
 
Old 02-12-2022, 11:50 AM   #6
lvm_
Member
 
Registered: Jul 2020
Posts: 936

Original Poster
Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Funny thing, I disconnected the USB cable, reconnected it back, apcupsd said 'battery reattached' and seems to be working now. Bad contact, I guess.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ups not able to communicate with ups software beopen Linux - Software 2 09-15-2014 03:22 AM
Acer Aspire One 532H Random Battery Disconnected messages Gavin Harper Slackware 2 06-08-2010 06:42 AM
APC UPS backup-ups ES RJ-45 augurseer Linux - Hardware 3 11-18-2009 11:32 PM
UPS/battery backup.... Basslord1124 Fedora 1 12-08-2004 10:25 PM
USB Support for APC Battery back up UPS gway600 Linux - Hardware 2 08-06-2004 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration