msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

Record historic battery reading #243

Open andreievg opened 11 months ago

andreievg commented 11 months ago

Is your feature request related to a problem? Please describe.

It would be quite useful to see history battery reading, this can help predict how much battery is remaining, since it's the derivative (the rate of battery voltage change) that indicate it's capacity (since voltage would vary based on temperature and battery batch)

Describe the solution you'd like

Record battery reading every X minutes or days

Describe alternatives you've considered

Additional context

adamdewey commented 8 months ago

Yes +1

This would help with #246

@Mai21 is going to trial recording historic battery readings in postgres so we can see if there is an improvement in accuracy in the dashboard at least