title: Control Android LED from shell
body: <p>I have seen several questions (and blog posts, elsewhere) with Java code for controlling the notification LED on an Android device. That's not what I'm looking for.</p>
  
  <p>I'm wondering if there is any way to access the appropriate commands / controls / frameworks from the shell (Perl, ruby).</p>
  
  <p>What I want, ultimately, is a very simple "heartbeat" pulse - when the device is on and the display is off, blink at me.</p>
  
  <p>Alternatively, if anyone has written a really simple "toy" app that blinks the LED, I'd love to play with it.</p>