PWRFLcreative / Spore

Spore WiFi LED module. Firmware and Hardware.
GNU General Public License v3.0
24 stars 3 forks source link

battery voltage math might be wrong #11

Closed brendanmatkin closed 6 years ago

brendanmatkin commented 6 years ago

SPOREs are power down at a reported remaining capacity of between 20%-25%. Obviously this is wrong! Check the math on both the firwmare and the config app.

brendanmatkin commented 6 years ago

Not 100% accurate, but remapped the values from 2.75-4.2 to 3.3-4.2, as lower than ~3.1-3.2 and things start to brown out a bit (it fluctuates).

Allowing negative % (i.e. -10% battery life) and adding a flashing plug-in warning below 5% in the config app interface.