Casio DT-X8 Series Software Manual page 120

Hide thumbs Also See for DT-X8 Series:
Table of Contents

Advertisement

The status of both battery pack and memory backup battery can be monitored with Microsoft's
GetSystemStatusEx2() API function in your application to retrieve the status values described
in the table.
Table 2.75
Member
ACLineStatus
Retrieves the status of
AC power.
BatteryFlag
Retrieves the status of
battery pack.
BatteryLifePercent
Retrieves the remaining
capacity of battery pack
every 10% level.
BackupBatteryFlag Retrieves the status of
memory backup
battery.
BatteryChemistry
Retrieves the type of
the operating battery,
either battery pack or
dry-cell battery.
Description
AC_LINE_OFFLINE : AC power is off.
AC_LINE_ONLINE : AC power is on.
BATTERY_FLAG_HIGH : OK
BATTERY_FLAG_LOW : Low
BATTERY_FLAG_CRITICAL : Almost exhausted.
BATTERY_FLAG_CHARGING : Under charging
In the range of 10 to 100%
BATTERY_FLAG_HIGH : OK
BATTERY_FLAG_LOW : Almost exhausted
BATTERY_CHEMISTRY_LION : Battery pack
BATTERY_CHEMISTRY_ALKALINE : Dry-cell battery
120
Returned Value

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dt-x8-10eDt-x8-10c-cnDt-x8-20eDt-x8-20c-cn

Table of Contents