Culturing of Synechocystis sp. PCC 6803 with N2 and CO2 in a diel regime reveals multi-phase glycogen dynamics with low maintenance costs.