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
--
Maxim S. Shatskih
Windows DDK MVP
http://www.storagecraft.com
"jerry" <> wrote in message
news:...
> 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.
>
>
>> 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 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
> Windows DDK MVP
>
> http://www.storagecraft.com
>
>