[PORT FROM R2]Battery: ignore the LOWBATT INT in case of charger connected
BZ: 21057
This patch adds the logic to check for charger connection upon
LOWBATT INT. If the charger is connected LOWBATT INT will be
ignored else driver will set the battery health to Dead.
Change-Id: Ice88315c9f591ca977a5f79bf8604cb8552e8b0e
Orig-Change-Id: Ie35f9e9b1b42e8bac50b2a5c89e3b4053d8fecd8
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: santosh <santoshx.gugwad@intel.com>
Reviewed-on: http://android.intel.com:8080/36394
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>