<?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[M5Dial Battery status]]></title><description><![CDATA[<p dir="auto">I am powering a M5Dial with a lipo battery.  Is it possible to retrieve the battery and charging status?  I tried to get the info but it is not what I expected.</p>
<p dir="auto"><strong>code......</strong><br />
M5Dial.Power.begin();<br />
Serial.print("voltage: ");<br />
Serial.println(M5Dial.Power.getBatteryVoltage());<br />
Serial.print("Level: ");<br />
Serial.println(M5Dial.Power.getBatteryLevel());<br />
Serial.print("charge?: ");<br />
Serial.println(M5Dial.Power.isCharging());</p>
<p dir="auto"><strong>results....</strong><br />
voltage: 0<br />
Level: -2<br />
charge?: 2</p>
]]></description><link>https://community.m5stack.com/topic/5912/m5dial-battery-status</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 13:28:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5912.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Dec 2023 17:15:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Dial Battery status on Thu, 12 Sep 2024 12:05:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi, did you have any luck to find the voltage with your projet?</p>
]]></description><link>https://community.m5stack.com/post/26414</link><guid isPermaLink="true">https://community.m5stack.com/post/26414</guid><dc:creator><![CDATA[jsgagnon]]></dc:creator><pubDate>Thu, 12 Sep 2024 12:05:14 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial Battery status on Tue, 26 Dec 2023 04:40:08 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the reply.</p>
<p dir="auto">I will try to add a Max17048 to provide the info.</p>
]]></description><link>https://community.m5stack.com/post/23147</link><guid isPermaLink="true">https://community.m5stack.com/post/23147</guid><dc:creator><![CDATA[Crisco5]]></dc:creator><pubDate>Tue, 26 Dec 2023 04:40:08 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial Battery status on Sun, 24 Dec 2023 19:43:47 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/70049">@Crisco5</a></p>
<p dir="auto">unfortunately I think there is no way to get the battery and charging status on an M5Dial. Looking at the <a href="https://docs.m5stack.com/en/core/M5Dial" target="_blank" rel="noopener noreferrer nofollow ugc">schematic</a> I do not see any provision (e.g. voltage divider from VBAT_IN to a GPIO) to measure the battery voltage via ADC like on some other M5Stack products.</p>
<p dir="auto">And the charging IC cannot be queried via software about the charging state. It does have two outputs (CHRG and STDBY) but they are not connected.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23137</link><guid isPermaLink="true">https://community.m5stack.com/post/23137</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 24 Dec 2023 19:43:47 GMT</pubDate></item></channel></rss>