Adjusted light and dark cycles can optimize photosynthetic efficiency in algae growing in photobioreactors.