I want to add APCI notification(OR power management) to my UPS management software.

Discussion in 'Windows Vista Drivers' started by jerry, May 20, 2009.

  1. jerry

    jerry Guest

    Hi:
    everyone, I already have an ups management system, that only is based
    application layer,
    has no connection with ACPI of system layer.
    When it detects ac failed, OR battery is weak, management system itself will
    decide to do something.
    Now, I want send a notification to ACPI of OS while the events happen.
    And let ACPI chooses to do something at next steps.
    I have already looked into power management of microsoft, But i dont know
    how to implement this in details.
    I need make a DDK driver to finish it? OR only some application layer
    functions are enough.
    Thank in advance.
     
    jerry, May 20, 2009
    #1
    1. Advertisements

  2. Now, I want send a notification to ACPI of OS while the events happen.
    I cannot understand how ACPI is related to UPS, and what kind of notification you're talking about.

    Do you want to put the machine to standby or hibernate?
     
    Maxim S. Shatskih, May 20, 2009
    #2
    1. Advertisements

  3. jerry

    jerry Guest

    Yes, you are right.
    I want to have operation system own make a choice(hibernate OR standby
    ,suspend).
    Just like system has a battery, Once ac fail,, OR battery is weak, OS will
    switch to hibernation ,OR standby status
    in order to save power.

    I only need to notify OS that now it need to switch into save power
    mode.(hibernation)

    I wonder if it is able to be implemented with driver OR application.



    ----- Original Message -----
    From: "Maxim S. Shatskih" <>
    Newsgroups: microsoft.public.development.device.drivers
    Sent: Wednesday, May 20, 2009 5:52 PM
    Subject: Re: I want to add APCI notification(OR power management) to my UPS
    management software.

    I cannot understand how ACPI is related to UPS, and what kind of
    notification you're talking about.

    Do you want to put the machine to standby or hibernate?
     
    jerry, May 20, 2009
    #3
  4. jerry

    jerry Guest

    Addtionally,
    I can get power status of UPS via data communication.
    machine is powered by the UPS.
    SO you may consider the ups as a battery of machine.
    Once power status of UPS is changed,
    I need to notify system switch into a save power mode.

    I cannot understand how ACPI is related to UPS, and what kind of
    notification you're talking about.

    Do you want to put the machine to standby or hibernate?
     
    jerry, May 20, 2009
    #4
  5. I think that MS-provided UPS service can do this since NT 3.1
     
    Maxim S. Shatskih, May 20, 2009
    #5
  6. jerry

    jerry Guest

    Sorry.
    My ups.exe can not work
    I am not sure that it can do this job.
    But i think that i need move this function into my software.
    I mean only notify ACPI of system.
    I never do other extra job. only send notification to ACPI.
    What you can do are to notification to ACPI ,
    and It own decide what it should do.

    even, i try to make a virtual battery, just like laptop with a battery in
    right-bottom tray.
    while switch to back-out mode(ac fail),,ACPI will work at once warning
    mesage appear,
    CPU,OR other hardware devices enters save power mode(S0~S3 level)
    at last system will enter suspend,even hibernation.

    But i want to try this with application layer first.

    "Maxim S. Shatskih" <> дÈëÏûÏ¢ÐÂÎÅ
    :...
    I think that MS-provided UPS service can do this since NT 3.1
     
    jerry, May 20, 2009
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.