sec_battery: Remove vbus_present wakelock

The vbus_present wakelock prevents the phone from going into deep sleep when the charger is connected; however, after charging the device with a cable type 6 (unknown cable type) charger, the wakelock is not destroyed after the cable is disconnected and instead remains, draining battery. The Nexus 5 goes into deep sleep while charging, so it's safe to assume that the vbus_present wakelock is unnecessary and can be removed completely.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
smb328a_charger: Remove CHG_MODE_UNKNOWN

CHG_MODE_UNKNOWN is detected as CHG_MODE_AC instead.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
sec_battery: Use AC charging for unknown cable types

Unknown cable types are charger type 6. This fixes the very annoying issue described in this thread: http://forum.xda-developers.com/showthread.php?t=1759541

Signed-off-by: Sultanxda <sultanxda@gmail.com>
drivers: power: Determine charge mode from actual cable type

CHG_MODE_UNKNOWN is now detected as CHG_MODE_AC, so remove it.

Signed-off-by: Sultanxda <sultanxda@gmail.com>