This document presents a methodology for optimizing energy consumption in 22nm sub-threshold CMOS circuits by simultaneously addressing active and standby energy. A slack-based genetic algorithm is introduced to determine the optimal key voltage assignments for different gate types to reduce leakage power and maximize energy efficiency without increasing the critical path delay. Experimental results demonstrate significant energy savings, with reductions in active energy per cycle by 14.5% to 42.28% and standby power by 62.8% to 67% across benchmark circuits.