<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>power manager: How to handle the situation when battery is dangerously low?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71783/power-manager-how-to-handle-the-situation-when-battery-is-dangerously-low</link><description>Hi, 
 I am currently developing a product which is supplied with battries (chip is nRF52810). Under normal conditions, the product goes into system OFF mode in standby, it can be woken up by GPIOTE. 
 However, when the battery level is dangerously low</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Feb 2021 13:04:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71783/power-manager-how-to-handle-the-situation-when-battery-is-dangerously-low" /><item><title>RE: power manager: How to handle the situation when battery is dangerously low?</title><link>https://devzone.nordicsemi.com/thread/295343?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 13:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84dc71ec-758b-46d1-815d-2ac8b195370c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;NRF_PWR_MGMT_SHUTDOWN_STAY_IN_SYSOFF&amp;nbsp;can be called when the battery is measured to be I.E. &amp;lt;5%. So when this is called, you typically don&amp;#39;t configure any wake-up. That way the device will stay OFF until you reset the board either by power cycling it or press the on-board reset button.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. You make the difference on your own terms, you decide when each of them should be called and what/if they configure as wake up pins. You can see how they&amp;#39;&amp;#39;re both used in the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/pwr_mgmt_example.html"&gt;power management example in our SDK&lt;/a&gt;, where an if-statement tells the device to either go to system OFF mode as usual or if it should go to system OFF and stay there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. I would suggest referring to the power management example. When and how you put the device to STAY_IN_SYSOFF is entirely up to you, but I would maybe generate an event when the battery is measured to be what you define as very low that causes the device to stay in SYSOFF the next time it goes to sleep.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>