UPS low battery value

cruz4221

Cadet
Joined
Aug 6, 2021
Messages
4
Hi there,
My USP service has set the low battery value to 95
battery.charge.low: 95
How do I lower it?
Thanks
 

Forza

Explorer
Joined
Apr 28, 2021
Messages
81
I've experienced the same thing. A brief power outage sent the server offline =(

Also it is important to turn the UPS off so it resumes power once the power is back on.
 
Joined
Jun 2, 2019
Messages
591
Some of those variables are programmed into the UPS and can be changed.

If your UPS is connected locally to TrueNAS, the following command will tell you which parameters the driver thinks are modifiable.

Code:
upsrw {upsname}@locahost


For more information

Code:
man upsrw
 

Forza

Explorer
Joined
Apr 28, 2021
Messages
81
How does TrueNAS react to the the UPS reaching low battery warning? I had a power outage event and TrueNAS seemed to have stopped almost immediately even though upsrw says battery.charge.low=20.
 
Joined
Jun 2, 2019
Messages
591
Did you configure any Auxiliary Parameters in the UPS Service configuration?

If you have a bad or old battery, the charge level will immediately drop below the threshold triggering a shutdown.

How long has the battery been in service? More than 5 years is pushing it.
Does the UPS support a self test? You might want to perform a UPS runtime test.
 

Forza

Explorer
Joined
Apr 28, 2021
Messages
81
Did you configure any Auxiliary Parameters in the UPS Service configuration?

If you have a bad or old battery, the charge level will immediately drop below the threshold triggering a shutdown.

How long has the battery been in service? More than 5 years is pushing it.
Does the UPS support a self test? You might want to perform a UPS runtime test.
It is relatively new and I've recently done run-time testing and it easilly lasts 30 minutes or more.
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Hi there,
My USP service has set the low battery value to 95
battery.charge.low: 95
How do I lower it?
Thanks
A setup that may work for you, without having to tinker with the battery.charge.low setting, would be to select a Shutdown mode of UPS goes on battery with a suitable value for Shutdown timer. I use 150 seconds for this, so my server shuts down 2 1/2 minutes after the UPS switches to the battery, which I've found to be 'good enough'.

I wrote a UPS resource several years ago that covers some of the basics, available here:
 
Top