Detect when power is removed from M5Stack Gray
GregFordyce last edited by
Does M5.Power.isCharging() return true even if the battery is fully charged but power is still connected through USB port?
I need to save some values and shut down the M5Stack when power is removed from the USB port under both battery charging and battery fully charged conditions.
Thanks in advance, Greg
m5stack last edited by
if the battery already fully. the M5.Power.isCharging() function will return the ture.