title: Catch long press of volume button in sleep(android)
body: <p>I need catch long press of volume button when phone is sleeping(screen off) and I know this code:</p>
  
  <pre><code>@Override
  public boolean onKeyLongPress(int keyCode, KeyEvent event) {
      if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) 
      {
          // to your stuff here
          return true;
      }
      return super.onKeyLongPress(keyCode, event);
  }
  </code></pre>
  
  <p>is not helpful(it works only in active intent</p>