<?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 management shutdown</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78195/power-management-shutdown</link><description>What exactly does the power management library? Does it handles all the ongoing processes and shut them down? 
 Because I did a test with for instance a flash write, and I saw that the there was a shutdown before the callback of the flash write was received</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Aug 2021 10:39:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78195/power-management-shutdown" /><item><title>RE: Power management shutdown</title><link>https://devzone.nordicsemi.com/thread/323693?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 10:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b092572e-d888-44fd-8dba-d40cc3b0c0b1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, you can use the sd_power_system_off() similarly as long as your application uses a SoftDevice. The NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF doesnt do anything&amp;nbsp;&lt;strong&gt;more&lt;/strong&gt; than putting the device in system OFF mode, but the power management library provides other features like the CPU usage traces, a standby timeout, a &amp;quot;stay in system OFF mode&amp;quot; etc.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power management shutdown</title><link>https://devzone.nordicsemi.com/thread/323655?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 07:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c49561-8607-40b4-b26b-1cd9dba9c088</guid><dc:creator>Gueston</dc:creator><description>&lt;p&gt;I saw those examples. So if I understand correctly I need to prepare everything myself before sleepmode/reset? But what is the purpose of that library then, if I can call sd_power_system_off() directly and I also need to prepare before sleep?&lt;/p&gt;
&lt;p&gt;In other words, in both situation I need to prepare for sleep, so what does the library function do more?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power management shutdown</title><link>https://devzone.nordicsemi.com/thread/323310?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 12:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e72578e-0b6a-4cb6-8cfb-0218a361a713</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please check out the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_pwr_mgmt.html"&gt;Power management library page on the Infocenter&lt;/a&gt;&amp;nbsp;for details. This library is used for handling idle mode and entering system OFF or DFU modes. You will need to prepare the device for sleep before calling I.E. the &amp;quot;sd_power_system_off()&amp;quot; function. You can see in our SDK example projects, that we usually have a function like sleep_mode_enter() or idle_state_handle() to prepare the device for sleep mode before actually going to sleep mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>