130
2.7.8 Virtual OFF by System
The “Virtual OFF” explained in Chapter 2.11.7 and adopted in the past for the CASIO previous
models is controlled by application. The DT-X30 and new coming models in future will support a
new virtual off mode - Virtual OFF by the System. The Virtual OFF by application is set in ON
state of the ordinary condition and is controlled by the System Library in application.
In the following figure, the application enables the “Virtual OFF by System” with Microsoft’s
SysSetSystemManagedVirtualOffMode function. Once the mode is set effect, the system
alternately changes ON and OFF states of the Virtual OFF mode every time the user presses the
Power key. That is to say, each device driver can automatically go into the pre-determined device
state. The “Virtual OFF by System” can be reset by a reset operation.
Transition of Power Management (for application)
Figure 2-16
In the above figure, if the application receives the low battery warning message
(PBT_APMBATTERYLOW), the application should reset the Virtual OFF mode and warn the
user of low battery. If the user continues to operate the terminal ignoring resetting the Virtual OFF
mode, turning off the power will occur (ordinal process to turn off the power) due to low voltage
of the battery. This causes a confusion and makes the user unable to judge whether the terminal
cannot resume from the Virtual OFF mode or troublesome caused by the battery ran out.
OFF
ON
SYS VOFF
OFF State
(VOFF)
Ordinary State
(including
Virtual OFF by
application)
When
“Virtual OFF
by System” is
set effect.
SYS VOFF
ON State
(VON)
The system makes the transition occur.
OFF
Power SW / VDET2 / BCVR
Power SW
With SetSystemManagedVirtualOffMode (Disable)
With
SetSystemManagedVirtualOffMode
(Enable)
Power SW / APO / SysPowerOff
Power SW
VDET2 / BCVR
Power SW
VDET2 / BCVR
With SetSystemManagedVirtualOffMode (Disable)