Fix offmode charging

https://github.com/ArchiDroid/android_device_samsung_smdk4412-common/commit/3f9b8f35f61344468222da94e81d83b7bf365c94#diff-145cb5a61011e98b42208bb423dcbb22R456