I've looked in examples about battery update. I saw after call ble_bas_battery_level_update(..), the following error will be ignored.
-
NRF_ERROR_INVALID_STATE
-
NRF_ERROR_RESOURCES
-
NRF_ERROR_BUSY
-
BLE_ERROR_GATTS_SYS_ATTR_MISSING
I have no idea, is there any reason behind to ignore when ble_bas_battery_level_update(..) return the error?
if I want to implement battery service to update current battery percentage, shall I follow the same error checking condition?

Reference: nRF5_SDK_17.1.0_ddde560/examples/ble_peripheral/ble_app_hrs/main.c