ponewheel / android-ponewheel

pOneWheel Android app
MIT License
71 stars 25 forks source link

Battery temp issue56 #108

Closed biell closed 4 years ago

biell commented 4 years ago

Resolves issue #56 .

Battery temperature is pulled every 60 seconds, and updated on MainActivity with both values provided by bluetooth. I also added motor temperature to MainActivity.

All temperatures are now reported without decimal places. The OW returns integers in °C, which is less precise than °F, there is no reason to provide riders with the illusion of two decimal places of accuracy. Fewer numbers also makes it easier to read while riding, IMO.

After watching both numbers change while riding, I also decided to send the average of the two numbers to the Battery module. If there are battery temperature censors, I am still not sure why there are only two temperature numbers returned and exactly what they represent.