handling of power plugs