Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This UPS is shutting down and turning back on overnight.
There is printing and an led on the UPS by the power switch that says
Green:Power On, Red:Replace battery, the led is green.
I have another APC UPS that did indicate the battery needed to be replaced.
I did a "brain-dead reset" and couple status indicators said
LOADPCT : 6.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 31.6 Minutes
I did a power outage test, I pulled the UPS power plug with couple devices still plugged in, the UPS beeped and remained on with the devices still powered up.
I'm using apcupsd UPS monitoring software, in apcupsd.events there are no indicated power outages or anything else power related.
I checked couple APC UPS forums for unexplained issues and it was a lot of people experiencing similar issues with no solution.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
You may want to check out the Back-UPS ES 450/550 User guide, It mentions that the UPS battery life is approximately 3 to 5 years dependent on the number of discharge cycles and environmental temperature.
When working with UPS' in a data centre environment, we discovered that replacing the whole thing was probably better economically as the charging and inverter components had been stressed over the life of the unit.
But... You pays your money and makes your choice.
Batterymart sells rebranded batteries, for instance I happen to know they sell same Deka batteries Harley-Davidson is selling for half a price. Branded as Big Crank. Still the same Deka inside.
I was surprised by the battery date and that something didn't happen sooner.
I have a slackware computer and slackware current raspberrypi3 connected to the UPS.
When I check on things, the computer is off, the rpi3 is on, the UPS is on.
Uptime on the rpi3 shows 18-19 hours as I'm not able to check until the following evening.
Last night I removed the slackware computer from the UPS and left the rpi3 connected. Whatever's been happening didn't happen. Uptime on the rpi3 now shows 1 day and about 19 hours.
The configuration file for apcupsd has a self test option commented out.
I know I can replace the battery but if the UPS isn't reporting what it should, I'd rather replace the UPS.
A bad/old battery can cause the UPS to not work correctly?
I know I can replace the battery but if the UPS isn't reporting what it should, I'd rather replace the UPS.
A bad/old battery can cause the UPS to not work correctly?
Those small UPSs cannot actually measure anything useful about battery condition without putting load on the battery. It can only put load on the battery by switching from mains power (which normally powers your load) to the internal inverter which runs on battery and is normally not running at all. If the battery is good, and the inverter starts as expected, the thest is a success and it switches back to the mains after a few seconds. If the battery is dead then the test fails immediately and your computer is dumped.
So when it tells you it can run for 31.5 minutes the number does not result from any actual measurement of your battery condition, rather at best it is calculated based on your current load and what might be (optimistically) expected of a new battery.
Run time from battery under the best of conditions is very difficult to predict as it will dramatically vary based on temperature, battery age and the total previous history of that individual battery. Never, ever trust any runtime estimate other than the most recently measured actual run time... In other words, if it ran on battery for five minutes yesterday, then it is probable that it can run for five minutes today. If it ran for twenty minutes a month ago, then all bets are off today until you pull the plug!
Even with large online UPSs (i.e. which run on inverter all the time) and environmentally controlled batteries specified for extended run times, when asked how long they can run without power I always say, "Two minutes". Instead of thinking that you can run for longer periods then experiencing a hard crash, adopt the view that once the lights are out you should start shutting everything down in a controlled manner pretty quickly.
Think of the UPS as providing a brief window for safe shutdown, not continued operations - no matter what is printed on the box!
And if that battery is 10 years old, it is toast - replace it and be happy!
With a load of the RPi3 plus a passive load roughly equivalent to your main computer, tell the UPS to run a "long" test. It will run on the inverter until the battery gets low and then switch back to line power. You can see how long it actually holds up with that load.
Replaced the battery. BATTDATE : 2008-04-02? Searched for "apcupsd battdate" found this page where it says:
Quote:
When you replace the battery you update BATTDATE to the
current date. Then you run apctest (kill the apcupsd daemon first). That
updates the UPS eeprom so that the UPS, not a configuration file, remembers
it.
I did that, BATTDATE : 2018-01-13. I finally found receipt for the battery I replaced, it was actually almost three years old.
Since I replaced the battery, uptime 3 days, 1:19!
Last edited by glorsplitz; 01-16-2018 at 07:18 PM.
tell the UPS to run a "long" test. It will run on the inverter until the battery gets low and then switch back to line power. You can see how long it actually holds up with that load.
Don't have to, had couple power outages some months ago and was impressed how long UPS ran before auto shutdown based on time left in the battery, about 25 minutes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.