EM/Charger: UI should display discharging when connected as USB HOST
authorVinay Hegde <vinayx.hegde.kota@intel.com>
Fri, 20 Apr 2012 18:49:02 +0000 (00:19 +0530)
committerbuildbot <buildbot@intel.com>
Thu, 26 Apr 2012 16:15:47 +0000 (09:15 -0700)
commit377858fc313763933586014be7df7bbbea411a62
tree7ccd6ab21857cb127464b05c4c8828334e59b01c
parent794ab55a604397363a1b01cdcfadd653f146ba02
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>
drivers/power/bq24192_charger.c