title: How to run a service when the screen is locked?
body: <p>I want to recognize a shake event when the screen is locked with my Android.
  I made a service to run in background but when the screen is locked, it doesn't work.</p>
  
  <p>Is it possible to run a service when the screen is locked?
  If not, is there a workarround :)</p>