Stops power connection state monitoring. As a result, the onPowerConnected
and onPowerDisconnected
observable events are no longer delivered.
This method returns a promise object that can be in one of the following states:
Resolve - confirms that monitoring has stopped successfully.
Reject - returns the InternalError
error described in the
Constants section of the Battery article.