if i enable the BATT_CHECK_ENABLE macro following error appears during build
./vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/drivers/8258/flash.c: In function 'flash_erase_sector':
./vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/drivers/8258/flash.c:224:5: warning: implicit declaration of function 'app_battery_power_check_and_sleep_handle'
[ld] tc32-elf-ld --gc-sections -T ./vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/boot.link $O_FILES $LIB_DIRS "-(" $LIBS "-)" -o $ELF
.log/flash.o: In function flash_erase_sector':
flash.c:(.text.flash_erase_sector+0x8): undefined reference to
app_battery_power_check_and_sleep_handle'
.log/flash.o: In function flash_erase_sector_ota':
flash.c:(.text.flash_erase_sector_ota+0x8): undefined reference to
app_battery_power_check_and_sleep_handle'
.log/flash.o: In function flash_write_page':
flash.c:(.text.flash_write_page+0xc): undefined reference to
app_battery_power_check_and_sleep_handle'
.log/flash.o: In function flash_write_page_ota':
flash.c:(.text.flash_write_page_ota+0xc): undefined reference to
app_battery_power_check_and_sleep_handle'
.log/app.o: In function main_loop':
app.c:(.text.main_loop+0x14): undefined reference to
app_battery_power_check_and_sleep_handle'
.log/app.o:app.c:(.text.user_init+0x6): more undefined references to `app_battery_power_check_and_sleep_handle' follow
[o-list] tc32-elf-objdump -x -D -l -S $ELF > $LST
tc32-elf-objdump: '.log/output.elf': No such file
[o-bin] tc32-elf-objcopy -O binary $ELF $OUTPUT/output.bin
tc32-elf-objcopy: '.log/output.elf': No such file
[o-size] tc32-elf-size -t $ELF
tc32-elf-size: '.log/output.elf': No such file
0 0 0 0 0 (TOTALS)
build end, create final fw...
copy ./.log/output.bin -> UG
build fail