charger: check the charging_enabled at the beginning of power off charging

Check charging_enabled flag in power off charging process, reboot the
device if charging is disabled to exit power off charging mode.

Change-Id: I11208acb1dd82a06b42911fdbcc7e58f6f97e96c