title: Why Cordova battery-status event listeners are added to the window object?
body: <p>On the <a href="http://cordova.apache.org/docs/en/3.0.0/cordova_events_events.md.html" rel="nofollow">Cordova (aka PhoneGap) documentation</a>, all examples show event listeners added to the <em>document</em> object, for example:</p>
  
  <p><code>document.addEventListener("backbutton", onBackKeyDown, false);</code></p>
  
  <p>...except for the three battery-status event listeners (batterystatus, batterycritical, batterylow), whose listeners are added to the <em>window</em> object. For example:</p>
  
  <p><code>window.addEventListener("batterycritical", yourCallbackFunction, false);</code></p>
  
  <p>Why is that?</p>