CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    39

    Question Detecting Uninterruptible Power Supply Usage

    Is there any way to detect when an uninterruptible power supply's backup battery starts being used? I would like to add an automatic shutdown to my server program if the u.p.s. is running on its battery.

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Detecting Uninterruptible Power Supply Usage

    This is an OS level problem and not a Java one.

    A number of power supplies support this functionality and come with a driver which allows them to communicate with the PC, sending a shut down signal after a configurable amount of time of running on battery backup.

    I would start by finding out if your UPS supports this feature and if not consider buying one that does.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured