Skip to content

Let a computer with a simple UPS also have a smart sleep function when power is cut off. 让使用简单的UPS的计算机也拥有聪明的休眠功能,在停电的时候。

License

Notifications You must be signed in to change notification settings

rankaiyx/SmartUPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SmartUPS

Let a computer with a simple UPS also have a smart sleep function when power is cut off. Principle Description: The router is connected to AC power, and the computer is powered by a simple UPS. By checking the Router, you can check the working status of the AC. If ping through the Router,the AC power supply is good, otherwise it is power off and start hibernation.

###############################################################

让使用简单的UPS的计算机也拥有聪明的休眠功能,在停电的时候。 原理说明: 路由器接交流电源,计算机由简单UPS供电,通过检测路由器,去检查交流电的工作状态。 Ping 路由器通过,则交流电供电良好,否则为断电并启动休眠。

IDE:VC6.0 Language:C

You can also use gcc

About

Let a computer with a simple UPS also have a smart sleep function when power is cut off. 让使用简单的UPS的计算机也拥有聪明的休眠功能,在停电的时候。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages