Hello, new M5PaperColor user here. While trying to familiarize myself with its functions, I've tried to modify the "PaperColor SHT40 Temperature & Humidity" sketch to also include the battery data, to get an idea of how the frequency of screen refreshes impacts its runtime.
But although the M5.Power functions work fine in the "PaperColor Battery" sketch, they just return values of 0 or -1 in this one. When I comment out all the SHT40 code, the battery functions work as expected. But as soon as I uncomment the sht4.begin() statement, the battery functions quit giving useful data again.
Is there a way to retrieve valid data from both subsystems, or is there really no way for a sketch that gathers environmental data to also warn the user when the battery is getting low?