Genes are life’s primal organisms, evolved from RNA nucleotides by the ubiquitous natural selection. Originally they were active ONLY during daylight time, at the pre bio-metabolism era.
Thus sleep is innate for all organisms, including for the genomes, which are the template organisms evolved by the RNAs for their own survival activities, as all life evolves for the purpose of supporting the RNAs survival.
The most essential energy requirements for organisms is for the daily housecleaning of their neural system centers. As bio-metabolism evolved it furnished indirect energy for this purpose, enabling adaptable flexible sleep times for the organisms.
Learn and re-comprehend sleep…
Dov Henis (comments from 22nd century)