Revert "Revert "Update baterry driver""

This reverts commit d9f04c87fd26290ef57ccc27960ad5f5ec71dd80.
Revert "Revert "defconfig: enable ksm""

This reverts commit d47d0e5bce8871aa84969a403cef9573b0cf301a.