Revert "import charging code from jf kernel"

This reverts commit d856a279cbfc76878d87acdc36d51ac98251aa39.
Add restart reason