title: In Android, how can my code determine if an HDMI-connected monitor is powered-on?
body: <p>Using <a href="https://stackoverflow.com/questions/8644665/how-to-check-the-hdmi-device-connection-status-in-android">this code</a> I was able to determine whether the Android device I'm writing for (a "Ugoos" appliance) thinks a monitor is attached.  The code works, reasonably well.</p>
  
  <p>However, if the monitor is powered-off, the code still reports that the HDMI device is connected.  I've tried everything I can think of, but can't find code to determine whether the monitor is turned off or not.</p>
  
  <p>I even did a "before and after" ls -lR of the /proc and /sys directories and compared them, to no avail.</p>
  
  <p>Any ideas?</p>