qpnp-charger: Add sleep during remaining EOC check function

Change-Id: I239c91ed9d1a21627904e1d35c6c467ea842e6b5
qpnp-charger: Enable vbatdet_lo IRQ on disconnect

This will cause the vbat_det lo IRQ to fire if pending.

It's safe to leave the IRQ enabled, since if it fires when
not charging, the IRQ handler will do nothing.  Also,
if you look at the code, this also will happen at EOC - the
IRQ will be enabled and never disabled until it fires.

Change-Id: I928e2db929f10d28dd37122b79bcc1853564e1c0
qpnp-charger: Fixup Oppo vbatdet configuration

Oppo sets vbatdet thresholds in the BQ24196 driver.  This isn't
working with the current code as that driver expects vbatdet as
an offset from vbatmax (either 100 or 300 mV).  This differs from
the standard qpnp-charger setup which wants a raw vbatdet threshold.

Most of these calls can just be removed in the future as the driver
never chooses anything other than 100 mV of offset, the exception
being when resume_charging is chosen - in which case the original
drivers seem to set a threshold of 100 mV above vddmax (which
effectively disables vbatdet...)

TODO:  Configure both the qpnp and BQ24196 vbatdet, since
the qpnp vbatdet is still used by some IRQs for driving
the charging state machine.

Change-Id: I84fb2cecbcc294345646190ab3fd53606e042fb0

Conflicts:
	drivers/power/qpnp-charger.c