<?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>Device turns off after 3 minutes of flawless operation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42348/device-turns-off-after-3-minutes-of-flawless-operation</link><description>I&amp;#39;m using the code from Vidar supplied here . It works well, but shuts off after 3 minutes. 
 
 Based on the idle_state_handle brief, &amp;quot; If there is no pending log operation, then sleep until next the next event occurs. &amp;quot; I am led to believe that this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jan 2019 08:59:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42348/device-turns-off-after-3-minutes-of-flawless-operation" /><item><title>RE: Device turns off after 3 minutes of flawless operation</title><link>https://devzone.nordicsemi.com/thread/164841?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 08:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d5904fc-6946-4145-9194-1d92bed60577</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That log handling is &lt;strong&gt;wrong&lt;/strong&gt; - see:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34666/nrf5-sdk-v15-0-0-bug-report-incorrect-use-of-nrf_log_process-in-ble_app_uart-peripheral-example-among-others"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34666/nrf5-sdk-v15-0-0-bug-report-incorrect-use-of-nrf_log_process-in-ble_app_uart-peripheral-example-among-others&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, that just results in the logs getting out of sync - shouldn&amp;#39;t stop the application working.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But you need to fix it before you can do any sensible debugging ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>