Refactor power/charger to platform repos