Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > I want to add APCI notification(OR power management) to my UPS management software.

Reply
Thread Tools Display Modes

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

 
 
jerry
Guest
Posts: n/a

 
      05-20-2009
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.



 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      05-20-2009
> 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

 
Reply With Quote
 
jerry
Guest
Posts: n/a

 
      05-20-2009
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


 
Reply With Quote
 
jerry
Guest
Posts: n/a

 
      05-20-2009
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.

"Maxim S. Shatskih" <> дÈëÏûÏ¢ÐÂÎÅ
:#...
> 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


 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      05-20-2009
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
>
>

 
Reply With Quote
 
jerry
Guest
Posts: n/a

 
      05-20-2009
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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management/Power Options in Vista MarkR Windows Vista General Discussion 4 08-29-2008 04:33 PM
Power management Sssnakeiii Windows Vista Networking 1 12-08-2007 10:27 PM
power management Steven Wabik Windows Vista General Discussion 0 06-16-2006 08:21 PM
USB HDD Power Management Wang.Hua Windows Vista Drivers 4 04-08-2006 09:38 AM
what is power management steeve Windows Vista Drivers 1 09-21-2003 11:34 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59