d2lte: Utilize charger class for offmode charging

Change-Id: Ia84451194d770b36ea1ad22c84d8cf74934f4e1e
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_device_samsung_d2lte into android-4.4