Like humans, fruit flies sleep at night, caffeine affects their sleep, and if they get a lousy night’s sleep it can affect their memory performance. But what can they tell us about the connection between sleep deprivation and metabolic disorders like diabetes and obesity? A lot, according to a new study that is the first to identify that a conserved gene — translin — works as a modulator of sleep in response to metabolic changes.