<?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 on/off button</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27649/power-on-off-button</link><description>Hello, 
 i want to power off and on the board using the Long Press Button Event. 
 Is this possible? Please help me out to resolve this issues... 
 Thank You</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Nov 2017 12:49:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27649/power-on-off-button" /><item><title>RE: power on/off button</title><link>https://devzone.nordicsemi.com/thread/109169?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 12:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70d8f3da-d201-475d-a562-589e9387f8d8</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Milav.&lt;/p&gt;
&lt;p&gt;What do you mean by power off? Are you using the sd_power_system_off() function?&lt;br /&gt;
Note that the device is not OFF when you put it in system off mode, it is put in a low power/deep
sleep state, where it can only be waked up by reset, GPIO, NFC field or LPCOMP module.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/120672/long-press-to-wake-up/"&gt;This case&lt;/a&gt; might provide some useful information.&lt;br /&gt;
As Hung and Endnode said, there is no clock running in SYSTEM OFF, so you will not be able to detect
&amp;quot;long press&amp;quot;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>