beautypg.com

Power management, Power management -10 – Juniper Systems Allegro CE Manual User Manual

Page 226

background image

Page 6-10 Software Developer’s Guide

Power Management

Windows CE was designed for efficient battery operation. Windows
CE puts the processor to sleep when there are no active threads using
the processor. When writing applications, be careful not to use any
functions that keep the threads active when not in use.

Power Management Tips:
- Do not spin a loop
- Use the Wait APIs such as WaitForSingleObject()
- Sleep() may also be used effectively