Added Wireless Charging to the Plugin

Fixed crashes from previous failed pull request. All tested and working.