Therefore, this system provides the unique ability to simultaneously measure sleep and oxidative metabolism, providing novel insight into the physiological changes associated with sleep and wakefulness in the fruit fly.