Previous Next

Curtail Background Activities When Running On Batteries

[This is preliminary documentation and subject to change.]

Best Practice   (Designed for Microsoft® Windows® Logo)

Your application should reduce background activities such as background pagination, background recalculation, autosaves, and autoformatting when the computer is running on batteries because the hard disk and CPU are the highest power consumers an application affects.

Remarks

While running on batteries, the following should be done to reduce hard disk and CPU usage:

Applications can determine when the computer is running on batteries by calling GetSystemPowerStatus and by checking for the PBT_APMPOWERSTATUSCHANGE value returned by the WM_POWERBROADCAST message.

See Also

http://www.microsoft.com/hwdev/onnow.htm for information about the OnNow initiative and technical specifications.