This document proposes a joint approach of routing, rate adaptation, and power control in wireless mesh networks. It aims to provide an energy-aware rate adaptation technique based on a new routing metric. The objectives are to provide the best routing metric and rate adaptation, achieve minimum delay and shortest routes. It calculates SNR at the MAC layer based on received power and noise. Distance is calculated using nodes' x,y positions. The energy optimization flowchart is presented. Energy is calculated based on distance, transmission power, time, and number of packets using the given formula.