Inkplate readBattery() returns invalid 0.28V values

Customer:

When measuring voltage using display.readBattery(), it often returns invalid values like 0.28V which isn’t a possible battery voltage. I found that measuring multiple times until getting a valid value works around the issue, though it sometimes takes about 10 tries. Is this a known issue?

Originally submitted via the contact form on soldered.com on 6 May 2025. Migrated to the forum for community visibility.

Soldered Support:

This readBattery issue hasn’t been reported before, but you’ve found a good workaround. It’s been noted for future library updates. Instead of repeatedly calling readBattery, try adding a longer delay before taking the measurement - does it still require 10 readings, or does the voltage need time to stabilize?