Smart beamforming for energy-aware wireless power transmission