This paper presents an energy scheduling strategy for power system using Bat Algorithm (BA) optimization technique. BA is inspired by the natural behaviour of microbats, that of echolocation. The paper focuses on the minimization of the total power and cost needed according to the power demand and limits of power generation. Two systems, the IEEE 9 bus with 3 generator system and IEEE 30 bus with 6 generator system, are studied and simulated using Matlab. The performance of BA is compared with evolutionary programming (EP) technique. The simulation results indicate that BA performs better than EP in determining the optimal power generation valuewith minimum generation cost.