Closed svrooij closed 7 years ago
I sometimes get a weird battery percentage like 56.99999999999999%, maybe this line should be:
56.99999999999999%
return Math.round(((SUBDEVICE_MAX_VOLT - this._voltage) / (SUBDEVICE_MAX_VOLT - SUBDEVICE_MIN_VOLT)) * 100)
I sometimes get a weird battery percentage like
56.99999999999999%
, maybe this line should be: