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:24 PM . Last Modified: 2024-03-26 02:31 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
I'm planning to get an APC UPS so there's a question:
I want to write a program to monitor the power status of the computer, it has to determine whether there's an AC power connected and the time left for the computer to work if it's on battery power.
There's standard Win32 API function to do so (GetSystemPowerStatus()), what i want to know is whether the UPS reports to Windows about it's power status?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
I'm planning to get an APC UPS so there's a question:
I want to write a program to monitor the power status of the computer, it has to determine whether there's an AC power connected and the time left for the computer to work if it's on battery power.
There's standard Win32 API function to do so (GetSystemPowerStatus()), what i want to know is whether the UPS reports to Windows about it's power status?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
Thank you for your help.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
I'm not sure about USB, but if it's on RS-232C, SmartUPS passively reports:
"!" when power is lost
"%" when battery is low
"j" inquiry to UPS brings back the time UPS thinks the load will run on battery
"f" brings back the UPS' estimate of battery capacity.
You'll have to set up the software to inquire the UPS every however many seconds you wish the information to be updated.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 07:24 PM . Last Modified: 2024-03-26 02:31 AM
I'm planning to get an APC UPS so there's a question:
I want to write a program to monitor the power status of the computer, it has to determine whether there's an AC power connected and the time left for the computer to work if it's on battery power.
There's standard Win32 API function to do so (GetSystemPowerStatus()), what i want to know is whether the UPS reports to Windows about it's power status?
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.