Open nitehawk opened 6 years ago
Currently battery % is in the form of current battery voltage. This eventually needs to be mapped into charge %.
Using mgos_adc_read_voltage seems to have a side effect of reporting 0.142 volts with no battery present, but this is not relevant to production usage.
Need to experiment with lower voltage batteries to confirm that reading is accurate