Some power features implemented

- Power connected/disconnected log
- Generate power stub