Making the Sleep Timeout Settings Persistent on the MC90xx Running Windows CE .NET 4.2

Article ID: 64663990

Symptom

The time settings for the sleep timeout for both battery and AC power on the MC90xx units are lost when the device is hard reset.

Root Cause

The device goes back to default settings whenever the device is hard reset.

Resolution

Modify and save the registry key specific for these settings.
  1. Create a new text file with notepad.
  2. Paste the following registry settings into the file:
    • [KEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
      "ACSuspendTimeout"=dword:000000C8 ;  in seconds (hexadecimal)
      "BattSuspendTimeout"=dword:00000000  ; in seconds  (hexadecimal)

       
  3. To make changes to the settings, modify the time values for each setting.
    • Note – These values must be hexadecimal (use the Windows calculator to convert from decimal).
  4. The maximum value for each can be up 300 seconds, or 12C hexadecimal.
  5. Save the file as “timeout.reg”
  6. Connect to the device through ActiveSync.
  7. Click the explore button, and then browse to the Application folder of the device.
  8. Drag and drop the timeout.reg file into the Application folder.
  9. Perform a hard reset for the settings to take effect.