APC UPS for Home and Office Forum
Support forum to share knowledge about installation and configuration of APC offers including Home Office UPS, Surge Protectors, UTS, software and services.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Hi,
Currently, I'm testing Back-UPS XS 700U in the following scenario on an Ubuntu powered PC with installed and running UPS Daemon, that is connected to UPS by USB:
1. I cut the power on UPS
2. Deamon initiates shut down on PC
3. PC is successfully shut down.
4. UPS starts beeping 3 times every minute.
5. In this condition I have assumed that the power from the PC is already cut (by UPS going to sleep mode) .
But my assumption was wrong. If I press the power key on PC it will be started. It means that the signal to UPS to power it down and saving battery is not received by UPS (Or is not sent rfom PC at all) and UPS is still running on Battery :
Have you any idea what could be the problem.
Actually, my goal is being able to successfully powering off the UPS after PC shutdown to be able to Start PC again automatically when the power comes back (I already have ALWAYS ON on BIOS and checked it without UPS)
The followings are the status of the UPS :
APC : 001,036,0906DATE : 2018-11-27 17:28:59 +0100HOSTNAME : Precision-Tower-3420VERSION : 3.14.12 (29 March 2014) debianUPSNAME : Precision-Tower-3420CABLE : USB CableDRIVER : USB UPS DriverUPSMODE : Stand AloneSTARTTIME: 2018-11-27 17:27:52 +0100MODEL : Back-UPS XS 700USTATUS : ONLINELINEV : 232.0 VoltsLOADPCT : 3.0 PercentBCHARGE : 97.0 PercentTIMELEFT : 135.4 MinutesMBATTCHG : 100 PercentMINTIMEL : 1 MinutesMAXTIME : 1 SecondsSENSE : MediumLOTRANS : 140.0 VoltsHITRANS : 300.0 VoltsALARMDEL : 30 SecondsBATTV : 13.7 VoltsLASTXFER : Low line voltageNUMXFERS : 0TONBATT : 0 SecondsCUMONBATT: 0 SecondsXOFFBATT : N/ASELFTEST : NOSTATFLAG : 0x05000008SERIALNO : 3B1834X66756BATTDATE : 2018-08-23NOMINV : 230 VoltsNOMBATTV : 12.0 VoltsNOMPOWER : 390 WattsFIRMWARE : 924.Z3 .I USB FW:Z3END APC : 2018-11-27 17:29:08 +0100
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Hi Bill,
Thanks for your reply. You were right.
It seems the problem is APCUPSD in Ubuntu 16.
I found some workarounds to send killpower before Ubuntu shuts down USB communication:
creating (and of course doing chmod +x on) a script at /lib/systemd/system-shutdown/apcups-killpower
#!/bin/sh
if [ "$1" = "poweroff" -a -f /etc/apcupsd/powerfail ]; then
/etc/apcupsd/apccontrol killpower
fi
For more information please refer to:
https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1634572
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Hi,
Looks like you are running APCUPSD. I know that APCUPSD offers KillPower when running on Windows. I do not know what is used on Linux. I suggest you check with the APCUPSD group.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:38 AM . Last Modified: 2024-03-26 04:07 AM
Hi Bill,
Thanks for your reply. You were right.
It seems the problem is APCUPSD in Ubuntu 16.
I found some workarounds to send killpower before Ubuntu shuts down USB communication:
creating (and of course doing chmod +x on) a script at /lib/systemd/system-shutdown/apcups-killpower
#!/bin/sh
if [ "$1" = "poweroff" -a -f /etc/apcupsd/powerfail ]; then
/etc/apcupsd/apccontrol killpower
fi
For more information please refer to:
https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1634572
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.