EM/Charger: UI should display discharging when connected as USB HOST
BZ: 30089
This patch ensures that when the board is connected to the USB in
Host mode it doesn't charge the battery and updates the battery
status as discharging.
Change-Id: I28c107c60bf5a7eb5f58ee2ea83e435e3e6bb2a3
Signed-off-by: Vinay Hegde <vinayx.hegde.kota@intel.com>
Reviewed-on: http://android.intel.com:8080/44135
Reviewed-by: Gurusamy, MarichamyX <marichamyx.gurusamy@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>