Revert "ework powered/plugged/charging logic"

This reverts commit 14c017e6cc95f485e81be3ca6c5f5abf0b837ff2.