Hi Everyone,
I'm currently working on a project which uses the nRF52832 and nRF52DK.
In this project, I have to broadcast my battery level when the development kit is connected to nRF Connect App.
From my understanding, I could easily add the ble_bas.c and ble_bas.h into my programming and use ADC to read the battery voltage and convert them into percentage. (similar to the example: ble_app_proximity.)
In this scenario, does it mean that the battery level value shown on the Connect App is equivalent to the voltage of the battery (example : 100% - 3V, 75% - 2.5V)? Or it actually refers to the "State of Charge" of the battery?
If it refers to "state of Charge" of the battery, how does the ble_bas.c file determine the battery's total capacity and remaining capacity.
Apologies if my question sounds a little silly as i'm very new to Nordic development kit.
Thanks!