1 of 1 people found this helpful
I think we have addressed this in an exact same post previously. The battery monitoring system (with gpio P15 directly connected to VBAT) is embedded in the rom code of which it cannot be changed in its present form. I can only draw your attention to the below two functions in the wiced_sense app that implement it.
//Scale battery level into percentage and update GATT DB.
// Measures the average ADC reading from P15 of the battery level