Detect when power is removed from M5Stack Gray
-
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
-
if the battery already fully. the M5.Power.isCharging() function will return the ture.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login