title: Read power input from usb
body: <p>Is there any way to read the power input from a USB connection in Android?</p>
  
  <p>For example plug in a micro usb lead into the phone from either a computer USB output, a mains charger, or something similar and read the voltage and amp output?</p>
  
  <p>I have no idea where to start looking for this information, and when searching I can only find battery widgets, or power consumption apps - this is not what I'm looking for, I want to be able to read how much power is being sent via the USB interface that is connected.</p>
  
  <p>Many thanks.</p>