Specifications
BHT_GetPowerStatus2nd
Description
Read information about the battery loaded in the grip.
Syntax
DWORD BHT_GetPowerStatus2nd (
WORD* pwCuOnLine ,
WORD* pwBatteryFlag ,
WORD* pwBatteryVoltage ,
WORD* pwBatteryChemistry )
Parameters
pwCuOnLine
[out] Read the BHT state on/off the CU
pwCuOnLine Specification
AC_LINE_ONLINE Placed on the CU
AC_LINE_OFFLINE Not placed on the CU
pwBatteryFlag
[out] Read battery voltage level
pwBatteryFlag Specification
BHT_BATTERY_FLAG_NO_BATTERY No battery loaded or no grip connected
pwBatteryVoltage
[out] Battery output voltage (mV)
"0" is always returned.
pwBatteryChemistry
[out] Battery type
pwBatteryChemistry Specification
BATTERY_CHEMISTRY_UNKNOWN Unknown
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER Storage address not specified.
Comments
With the BHT-700, the battery is not stored in the grip, and therefore the following information is returned
if this function is called.
- Battery voltage level : BHT_BATTERY_FLAG_NO_BATTERY (No battery loaded)
- Battery output voltage : 0 mV
- Battery type : BATTERY_CHEMISTRY_UNKNOWN (Unknown)
104










