<?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[M5paper battery or deep sleep issue]]></title><description><![CDATA[<p dir="auto">I've created a piece of code receiving some sensors states with mqtt and publish m5paper temperature and battery voltage via mqtt to home assistant. To keep the m5 awake I run a simple loop:</p>
<p dir="auto">hile True:<br />
wait(30)<br />
m5mqtt.publish(str('temp_nebeneingang'),str((sht30.temperature)))<br />
m5mqtt.publish(str('battery_m5paper'),str((bat.voltage())))</p>
<p dir="auto">So far so good, but in case I run this on battery after about 2h the m5 stops working showing the last display. During this timeframe battery voltage reported went down from 4900 to 3200 within 2,5 hours.<br />
What I'm unsure about: Is the m5 going to deepsleep and not responding anymore or is the battery really empty after this short timeframe?<br />
Even pressing the reset button doesn't evoke anything, only connecting usb power again.</p>
]]></description><link>https://community.m5stack.com/topic/3931/m5paper-battery-or-deep-sleep-issue</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 07:14:53 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3931.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Jan 2022 14:37:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5paper battery or deep sleep issue on Sun, 16 Jan 2022 09:56:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jack-drake" aria-label="Profile: Jack-Drake">@<bdi>Jack-Drake</bdi></a></p>
<p dir="auto">a while ago I made some measurements for the M5Paper regarding light and deep sleep. You can find them <a href="https://www.gwendesign.ch/kb/m5stack/m5paper/#light-sleep-deep-sleep-and-shutdown-current" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16219</link><guid isPermaLink="true">https://community.m5stack.com/post/16219</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 16 Jan 2022 09:56:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper battery or deep sleep issue on Sun, 16 Jan 2022 08:46:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi, thanks for you fast reply. Sounds like I need to play a little bit around with deep sleep to avoid fast battery drain.</p>
]]></description><link>https://community.m5stack.com/post/16215</link><guid isPermaLink="true">https://community.m5stack.com/post/16215</guid><dc:creator><![CDATA[Jack Drake]]></dc:creator><pubDate>Sun, 16 Jan 2022 08:46:13 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper battery or deep sleep issue on Sat, 15 Jan 2022 23:20:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jack-drake" aria-label="Profile: Jack-Drake">@<bdi>Jack-Drake</bdi></a></p>
<p dir="auto">M5Paper, or any other device using an ESP32 for that matter, is not automatically going to deep sleep. Your program needs to tell the ESP32 to go into deep sleep. Use a command like this:</p>
<pre><code>machine.deepsleep(20000)
</code></pre>
<p dir="auto">this puts the ESP32 into deep sleep for 20 seconds.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16210</link><guid isPermaLink="true">https://community.m5stack.com/post/16210</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 15 Jan 2022 23:20:13 GMT</pubDate></item></channel></rss>