With the addition of Adventure Sync, you can now hatch eggs simply by having your phone on you and powered on, even if Pokemon Go is not running. If you enable Adventure Sync in the Settings menu, your game will track distance and prompt you to hatch eggs the next time you open the app.