Wireless energy harvesting for Nakagami fading channels