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.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-11-16 07:47 AM
I've recently bought an 850G2 unit, primarily to ensure my fibre broadband + VoIP phone will carry on through a tempory power glitch (not unuaual here to ahve power drop out for a couple of seconds), and continue running for a while in the event of a more extended power cut. I also want to have a small desktop computer hibernate if power drops out for more than a minute, both to avoid system corruption and also to minimise lost work.
Using Powerchute serial software, I'm able to get the computer to shut down, but (a) I can't see how to get the computer to hibernate instead; and, (b) after the computer shuts down, the other equipment connected to the UPS lose power. How do I work found these two issues, please? Is the only solution for me to get an additional small UPS solely to keep the PC running long enough to hibernate or shut down cleanly?
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: 2024-02-07 11:44 AM
The UPS has two outputs (Surge Only) and Battery Backup so confirm the other appliances are connected to the correct outlets. As it relates to your computer system, a graceful shut down is the correct method to protect the hardware and its data.
The Windows hibernating mode is intended to save power while also speeding up the computer to a working state vs a cold boot. A computer system left in hibernating mode will lose or see data corruption. As the system is literally still running on reduced power.
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: 2024-02-21 03:54 AM
Thanks for the reply. First, you a wrong about Windows hibernation; on Windows 10 and earlier, hibernation meant a complete power-down, but keeping info on disk so everything could resume when things powered back up. You could even remove the battery on a laptop, or disconnect a desktop computer from the mains supply, and state was recovered when things back up. So, hibernation is a sensible option when told by an UPS that power is going away. With Windows 11, Microsoft is encouraging people just to use the sleep mode (which, as you describe, relies on power being maintained), but the true hibernation mode option is still there - just well hidden.
Secondly, you have made the simplistic assumption that everything attached to the battery-backed circuit is for use only by the desktop computer. I want the computer to shut down in an orderly manner when the mains power is lost, but I don't want to shut down the router, for example, nor the VOIP adapter; that way, laptops, tablets and phones can carry on using the internet via WiFi for a while, and my 'landline' still works - so I can report the problem with the electricity supply. If the only things being powered by the battery long-term are the router and phone, I'm hoping I should be able to maintain connectivity for a few hours. Is there any way I can set up the desktop computer and UPS so that then the power goes (a) the computer gets a signal which it uses to power down gracefully, and (b) all the devices connected to the battery-protected sockets on the UPS (including the computer) remain powered until the battery dies? I suppose I could do away with using the USB port and instead connect, say, a raspberry pi to one of the unprotected sockets, and have something on the computer that monitors this via pings, ... but this adds complexity!
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: 2024-02-22 09:24 AM
(for clarity, I would like to add that I've recently moved from an FTTC internet connection to direct fibre (FTTP), and no longer have a telephone service via copper wire - so the VoIP 'landline' depends on the router working in the event of a power cut, especially as the mobile signal around here is not reliable: the last power cut took out the local masts! Hence the importance of a battery backup for the router, and I was hoping that it would also keep the desktop computer going long enough for a graceful shutdown or hibernation.)
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: 2024-02-22 11:24 AM
You can configure PowerChute to run a command file after UPS as run on battery for X time that will tell the OS to hibernate.
First set the time on battery threshold. Below I set the threshold to 5 minutes
Next Change the shutdown setting to At runtime limit and set that threshold.
Next write a command file to hibernate the OS. The command file can be a .bat or .cmd and must be stored in C:\Program Files\APC\PowerChute Serial Shutdown\agent\cmdfiles
Comand file contect:
powercfg -h on
timeout /t 60
shutdown /h
The file will enable hibernation wait 1 minute and the hibernate to OS.
Next within PowerChute configure the command file to be triggered when time on battery as been exceeded.
In my example the UPS will run on battery for 5 minutes and then PowerChute will trigger the command file to hibernate the OS. The UPS will remain providing output until it reaches low battery.
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.