<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Detect When M5 is Powered by Battery?]]></title><description><![CDATA[<p dir="auto">I know we can’t read the charge level on the M5 core, but is there any way to detect if the power source is battery vs USB? Even adding some custom circuit?</p>
]]></description><link>https://community.m5stack.com/topic/1337/detect-when-m5-is-powered-by-battery</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:31:59 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1337.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Sep 2019 17:24:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Detect When M5 is Powered by Battery? on Tue, 01 Oct 2019 10:46:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> Thanks so much for your reply! Sorry I missed it. I found the Arduino sample and confirmed it works. Somehow I had been led to believe from issues on Github that it was only supported on Fire, but the battery sample works on my M5 Basic (black).</p>
]]></description><link>https://community.m5stack.com/post/5779</link><guid isPermaLink="true">https://community.m5stack.com/post/5779</guid><dc:creator><![CDATA[jeremyjh]]></dc:creator><pubDate>Tue, 01 Oct 2019 10:46:51 GMT</pubDate></item><item><title><![CDATA[Reply to Detect When M5 is Powered by Battery? on Tue, 24 Sep 2019 15:19:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeremyjh" aria-label="Profile: jeremyjh">@<bdi>jeremyjh</bdi></a> There are sample programs for this. Do you want arduino code or micropython?</p>
]]></description><link>https://community.m5stack.com/post/5721</link><guid isPermaLink="true">https://community.m5stack.com/post/5721</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 24 Sep 2019 15:19:17 GMT</pubDate></item></channel></rss>