Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there a way in software to detect if the M5StickC is charging or running on battery? I'm assuming the power management unit (AXP192) must know, but is that information exposed somewhere?
Thanks!
@sbussinger
Yes. With uiFlow:
Or Arduino: https://docs.m5stack.com/#/en/api/axp192_m5stickc https://github.com/m5stack/M5StickC/blob/master/examples/Basics/AXP192/AXP192.ino