[PORT FROM R2]Battery: ignore the LOWBATT INT in case of charger connected
authorsantosh <santoshx.gugwad@intel.com>
Thu, 23 Feb 2012 10:13:15 +0000 (15:43 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 28 Feb 2012 07:15:38 +0000 (23:15 -0800)
commit81874c961ab63bdfbf3ee062301100708d99c9fe
treeba04dc9aad32066b6c8f5ff0bf06436e2ebb789f
parentaf6ddd4f16d6a612dbd54d8d76ac6634950fbf28
[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>
drivers/power/intel_mdf_battery.c