President Barack Obama on Friday announced steps to increase the use of solar panels, boost energy efficiency in federal buildings and train more people to work in the field of renewable energy.

"It's the right thing to do for the planet," Obama said, standing in a Wal-Mart store's outdoor lighting section, which featured rooftop solar panels and a charging station for electric vehicles, among other energy-saving retrofits.

The president used the stop to show how major corporations have committed to increasing the generation of solar power at their facilities.