added possibility to control power adapters from type B