• I think that may be to be expected. Is it likely that the temperature changed a lot in those few hours?

    I just did a quick Google and found the attached image. You can see the voltage changes a lot depending on temperature - the battery percentage can only really be calculated based on the battery voltage, and the discharge curve is very shallow for most of the battery's life which compounds the problem.

    It's not unique to Puck.js - if you've ever been somewhere cold with a digital camera, the battery will tend to show as mostly discharged until it warms up.

    The obvious question is why I don't add temperature correction - but the correction needed will depend on the brand of battery used.

  • A temperature correction would be nice of course. You could focus on Varta batteries because they are one of the best products for a fair price.

About

Avatar for MobiTech @MobiTech started