Revert "Fixed poweroff charging."

This reverts commit e531be5e7bfe23862e2a3dd483ed72f1e8fc0863.