Log in

View Full Version : TUTORIAL: Arbitrary suspend timeout - how to set?


Menneisyys
10-20-2005, 03:36 PM
Q: How can I set an arbitrary power down timeout in Windows Mobile? The pre-set 1/2/3/4/5/never minutes don't suffice for me!

A: This trick has never been documented before in English (meaning I needed to find it out myself in a way I've described here (http://discussion.brighthand.com/showthread.php?s=&threadid=119094)). This is why, for example, not even Tweaks2k2 (http://www.tweaks2k2.com/portal/filemgmt/) (I've checked the latest, 3.12.0 version) has this feature.

This means (before ctitanic puts this hack in Tweaks2k2) you'll need to get a registry editor and edit the registry yourself. It's not that hard as most think - don't be afraid of it!

Go to [HKEY_LOCAL_MACHINE\System\ CurrentControlSet\Control\ Power\Timeouts\ BattSuspendTimeout] . This value holds the battery power timeout in seconds.

click for screenshot (http://www.winmobiletech.com/kuvat/BatterySuspendRegistry-1.gif.png)

For example, if you want the PPC to shut down after 30 minutes (1800 seconds), enter '1800' in here (708 in hexa if you only have a hexa-only registry editor):

click for screenshot (http://www.winmobiletech.com/kuvat/BatterySuspendRegistry-1.gif.png)

After this, reset your PDA for the changes to take effect.

Incidentally, you can set the same for AC power by editing ACSuspendTimeout.

Note that this is only true with WM2003+ PDA's; pre-WM2003 devices have BattPowerOff and ExtPowerOff (for battery/AC-based power, respectively) instead:

click for screenshot (http://www.winmobiletech.com/kuvat/BatterySuspendRegistry-1.gif.png)

They should be set in exactly the same way as with WM2003+ PDA's, though.

If you want to get a registry editor, please read my posts here (http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=16508).

(I've run a quick Google search on this registry hack after finding the affected value in the Registry. I've found nothing in English.)

(Note that I've also published this trick in my PPCMag Expert blog here (http://www.pocketpcmag.com/blogs/index.php?blog=3). Feel free to check out the blog / to subscribe to the RSS feed.)

hiatus
10-23-2005, 08:50 AM
Thank you
i don't need it at the moment but i am very glad to know about it. And I subscribed to the blog too :)