title: Android : difference in OBTAINING_IP_ADDR WiFi supplicant state
body: <p>In the Android App, am trying to listen for WiFi on/off state changes. I have registered for 
  SUPPLICANT_STATE_CHANGED_ACTION</p>
  
  <p>When WiFi is turned on, the state changes from
  Scanning
  to
  Connecting
  to
  Authenticating
  to 
  OBTAINING_IP_ADDR</p>
  
  <p>Then it stays at OBTAINING_IP_ADDR. But when not connected to WiFi also, the supplicant state says OBTAINING_IP_ADDR. How do we differentiate between the OBTAINING_IP_ADDR when WiFi is being connected to, and the OBTAINING_IP_ADDR when the WiFi is off?</p>