---------------------------------------------------------------------
Attention: Please do not move CeSleep.exe while executing it (watch).
(The registration passing to the scheduler becomes illegal, and
it can't be executed. )
---------------------------------------------------------------------
1. Overview
CeSleep observes the automatic start at 0:00 on the Windows CE
machines (W-ZERO3 and iPAQ, etc). After the delay of 20 seconds,
CeSleep suspends the machine when the automatic start is detected.
As a result, the battery cutting is prevented.
(Besides, the enhancing options such as power supplies OFF
in the icon click are prepared.)
2. License
-----------------------------------------------------------------
Copyright 2003-2008 SHIROUZU Hiroaki All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above
copyright notice, this list of conditions and the following
disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
THIS SOFTWARE IS PROVIDED BY SHIROUZU Hiroaki ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SHIROUZU
Hiroaki OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------
3. Environment
WindowsCE 3.0 or later (HPC/2000, PocketPC, Windows Mobile, etc)
ARM CPU (MIPS is suppuorted by v1.01)
4. Usage
It resides in the task tray when starting, and the automatic start
at 0:00 is observed.
The dialog "The suspension will start in 20 seconds" comes out when
the start of 0:00 is detected or running time is above specified
time (it can specify by -sXX option).
Please push "Cancel" button, if you don't want to start suspending.
CeSleep.txt that contains power-on date is created in root directory.
If you wan to terminate, please press "Exit" button in About Dialog
that was open by click tasktray's cesleep's icon.
Options (creating a shortcut and setting in its property.)
-e ... Remove to monitor for power-on event.
-ee ... Equals -e option except no message at removing.
-n ... CeSleep.txt is not created.
-p ... Desplay Poweroff Icon in tasktray.
If you want to terminate, please execute CeSleep again.
-r ... Suppress "Suspend done." message box at power off.
-R ... Reboot device.
-s ... Running time specfy. -s60 means poweroff when 60min running.
-x ... Poweroff.
-z ... Watching as no daemon mode. (it can't use with -s)
If you want to lift to watch, please execute CeSleep without -z
-zz ... Equals -z option except no message at starting.
5. Inside
CeSleep use CeSetUserNotificationEx API
6. Misc
https://ipmsg.org/tools/scheedit.html
7. Newest Version
https://ipmsg.org/tools/cesleep.html.en
8. History
ver 0.50 ... First version (2003/03/16)
ver 0.94 ... Renaming SigSleep to CeSleep. Add English mode.
ver 0.99 ... Add -r option.
ver 1.00 ... Refine.
ver 1.01 ... Add -e/-ee, -zz option.
ver 1.02 ... Add -R option. Add reboot button in Main Dialog.
|