Casio DT-X7 Series Software Manual page 126

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

Advertisement

The status of both battery pack and memory backup battery can be monitored in your application
with Microsoft's GetSystemStatusEx2() API function to retrieve the status values described in
the table.
Table 2.84
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
126
Returned Value
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
BATTERY_FLAG_CHARGING: Under
In the range of 10 to 100%
BATTERY_FLAG_HIGH: OK
BATTERY_FLAG_LOW: Almost exhausted
BATTERY_CHEMISTRY_LION: Battery
BATTERY_CHEMISTRY_ALKALINE:
exhausted.
charging
pack
Dry-cell
battery

Advertisement

Table of Contents
loading

Table of Contents