title: Linux/Python: Monitor /proc/acpi files without polling?
body: <p>Is there any way to monitor <code>/proc</code> files, such as</p>
  
  <pre><code>/proc/acpi/battery/BAT0/state
  /proc/acpi/ac_adapter/ADP0/state
  </code></pre>
  
  <p>in a non-polling fashion, similar to inotify on a normal filesystem?</p>
  
  <p>I want to do this in a PyGTK app, so I tried using PyGObject's gio.FileMonitor, but no dice. A Python solution that plays well with <code>gtk.main()</code> would be ideal.</p>