How is ENERGY restored?

Energy will increase over time, even when the app is closed. For those who can't wait there are multiple ways to gain or restore full energy.