power_supply: set the package type of all components