We consider the energy scheduling for a fading channel with energy harvesting, constrained by the availability of the energy, the capacity of the battery, and the maximum power of the transmitter. We give an overview on some recent works related to the energy scheduling algorithms for an energy harvesting transmitter, obtaining the optimal (or approximately optimal) energy schedule for various cases with low computational complexity, including both the non-causal and the causal channel state information. For the non-causal case, we give a novel dynamic water-filling algorithm while in the causal case, we use a reverse mapping algorithm to solve the recursive steps for the value iteration.