<?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[moment power off]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">Can M5Stack detect the moment it will be power off?<br />
Like when usb power off / unplug, or power/reset button is pressed.<br />
The reason is because I need to save certain data at that moment.</p>
<p dir="auto">Regards,<br />
Rezan</p>
]]></description><link>https://community.m5stack.com/topic/2441/moment-power-off</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 06:48:42 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2441.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Nov 2020 05:21:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to moment power off on Fri, 06 Nov 2020 04:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5stack" aria-label="Profile: m5stack">@<bdi>m5stack</bdi></a> Understood. Thanks</p>
]]></description><link>https://community.m5stack.com/post/10627</link><guid isPermaLink="true">https://community.m5stack.com/post/10627</guid><dc:creator><![CDATA[mrezan]]></dc:creator><pubDate>Fri, 06 Nov 2020 04:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to moment power off on Thu, 05 Nov 2020 10:57:18 GMT]]></title><description><![CDATA[<p dir="auto">when the USB unplug. the device will auto reboot soon.  you can't catch this event through the program.</p>
<p dir="auto">but maybe you could get the battery voltage.  when it lower something level.  control the device save data.</p>
]]></description><link>https://community.m5stack.com/post/10620</link><guid isPermaLink="true">https://community.m5stack.com/post/10620</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Thu, 05 Nov 2020 10:57:18 GMT</pubDate></item></channel></rss>