J. Appl. Phys.: Decision making by energy transfer