ScreenShot
taPowerStateScheduler v1.1
What is taPowerStateScheduler?
Defining the schedule
Activating the schedule
Commandline support
What is taPowerStateScheduler ?
This application allows you to control the system power state of your Windows Mobile device. This is useful if you have an application that runs for a longer amount of time but does not manage the system power state itself. Consequently, the operating system will suspend this application before it has done its job. To solve this problem, run taPowerStateScheduler in parallel to the other application and let it control the device's system power state.
taPowerStateScheduler is based on the Eve VM 1.27 ( http://www.ewesoft.com) and has following features:
- Runs on Pocket PCs with Windows Mobile 5 and 6.
- Allows to define a schedule for run and suspend time periods.
- Parameters can be passed on the commandline.
- Program actions are logged to the text area which can be cleared with the "Clear" button
Defining the schedule
To define the schedule, set the fields below according to your needs:
- Power state: This is the power state to be used during the run period. You can leave the power state blank if you don't want to set it actively. After a wakeup the power state will then be "Unattended" and some devices might not be active in this state.
If the system already is in power state "On" when the next wakeup time is reached (for example because the user has turned on the device manually), then the power state will remain in "On" for the run period. - Max run time: The length of the run period in seconds.
- Suspend time: The length of the suspend period in minutes.
- Wakeups: The number of remaining wakeups. After every wakeup this number is decremented by 1. When it reaches 0, the schedule is deactivated and the device is suspended.
Activating the schedule
To activate the schedule, press the "Start" button. Now the power state is being set, the schedule is activated and the text of the "Start" button changes to "Stop". If wakeups > 0, a wakeup event is scheduled by defining a run-application-at event for the dummy application dummy.exe. This dummy application is part of taPowerStateScheduler and will be extracted to program directory during the first run.
To deactivate the schedule and delete the wakeup event (if existing), press the "Start/Stop" button again.
Commandline support
Use: taPowerStateScheduler [-P <power_state_name>] [-R <run_seconds>] [-S <suspend_miunutes>] [-W <wakeups>] [-a] -P: power state, default = blank -R: run seconds, default = 15 -S: suspend minutes, default = 10 -W: number of wakeups, default = 0 -a: auto-activate schedule, default = no auto-activation Example: taPowerStateScheduler -P On -R 20 -S 15 -W 30On some systems, you will need to tell the Eve VM to pre-load the taWinCEapi.dll:
Use: taPowerStateScheduler [-+ -dll taWinCEapi --] [-P <power_state_name>] [-R <run_seconds>] [-S <suspend_miunutes>] [-W <wakeups>] [-a] Example: taPowerStateScheduler -+ -dll taWinCEapi -- -P On -R 20 -S 15 -W 30