Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.
Already have an account? Login
You can subscribe to this forum after you log in or create your free account..
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.
Already have an account? Login
Posted: 2021-06-28 07:24 PM
This was originally posted on APC forums on 6/22/2007
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?
Posted: 2021-06-28 07:24 PM
This was originally posted on APC forums on 6/22/2007
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?
Posted: 2021-06-28 07:24 PM
This was originally posted on APC forums on 6/23/2007
Thank you for your help.
Posted: 2021-06-28 07:24 PM
This was originally posted on APC forums on 7/13/2007
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.
Posted: 2021-06-28 07:24 PM
This was originally posted on APC forums on 6/22/2007
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?
User | Count |
---|---|
2124 | |
88 | |
83 | |
83 | |
82 | |
79 |
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.