Power Management for Energy Harvesting over LEACH Protocol