Optimization of MANETs Efficiency Through Rational Energy Consumption