ACPI/OnNow
Productivity applications can verify compliance with ACPI/OnNow recommendations with the following tests:
-
Open a file on a local hard drive, edit it (don't save), put the machine to sleep, wake the machine, and verify that the application continues to run, the file can be saved, etc.
-
Open a file on a hard drive in a docking station, edit it (don't save), put the machine to sleep, undock the machine, wake the machine, and verify that the application correctly informs the user of the problem and leads them through steps to correct the problem.
-
Open a file on the network, edit it (don't save), put the machine to sleep, wait a few minutes for the network connection to time out, wake the machine, and verify that the application continues to run, the file can be saved, etc.
Games can verify these recommendations with the following tests:
-
While in game play, put the computer to sleep via the Sleep button or Start Menu.
-
Verify the computer goes to sleep and sound stops playing.
-
Wake the computer.
-
Verify the game play remains paused. After resuming game play, the game continues to function normally (graphics, sound, and input devices continue to function as before).
Event handling applications can verify these recommendations with the following tests:
-
In the Power control panel, set the system idle time as low as possible.
-
Start the application and its event handling feature.
-
Put the computer to sleep using the computer’s Sleep button or using the Start Menu.
-
Start an event that will take longer to process than the system idle time.
-
Verify that the computer does not go to sleep while the event is being processed, and after the event has been processed, the computer goes to sleep immediately.
Tip: Applications that need the computer to wake up quickly to respond to an event can RequestWakeupLatency to tell the OS to configure the computer to wake as quickly as the computer allows.
Tip: Applications that need to wake the computer at a certain time can do so using the CreateWaitableTimer and associated APIs.
Tip: Messaging applications can display the number of new messages on the computer’s message waiting indicator panel by calling the SetMessageWaitingIndicator API.
Presentation applications can verify these recommendations with the following tests:
-
In the Power control panel, set the system idle time as low as possible.
-
Start the application and play a presentation.
-
Wait for a time longer than the system idle time and verify that the computer does not go to sleep and that the display does not blank during that time.