Click here to Skip to main content
15,890,609 members
Articles / Desktop Programming / Win32

Using WM_POWER Events to Monitor a UPS

Rate me:
Please Sign up or sign in to vote.
4.19/5 (7 votes)
2 Dec 2021CPOL3 min read 41.6K   1.6K   29  
Shows how to monitor a UPS, graph the details and shutdown the system
This toolbar widget provides a framework to capture win32 WM_POWER events, leverage them to draw a graph of UPS state and optionally shutdown/suspend or hibernate the system.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions