none
Windows CE 5.0 - system goes to 'systemidle' state after Resume RRS feed

  • Question

  • Hi all,

    I'm working on a PDA which runs Windows CE 5.0 (PXA270, MainstoneIII based).

    In my device Suspend - Resume works well but just after resuming, the deviece enters to the 'SystemIdle' state and backlight turns off. Therefore to get the device to the 'on' state again I need to tap on the screen or need to press a key on the keypad.

    In the power button driver I'm using a power monitoring thread to moniter the power state of the system. In this thread I tried to set the system power state to 'on' state just after a Resume using the following code snippet


    SetSystemPowerState(_T("on"), 0, POWER_FORCE);
    Sleep(100);

    but still it goes to the 'systemidle' state after resume.

    could you please give me some help to solve the problem

    thanx and regards,
    Randika
    Tuesday, February 5, 2008 5:04 AM