Let udev detect power source type.