Fix offmode charging 

https://github.com/ArchiDroid/android_device_samsung_smdk4412-common/commit/3f9b8f35f61344468222da94e81d83b7bf365c94