They can sleep when the lights on. Since birds are a part of wildlife, they tend to be awakened with instincts to protect themselves from predators. At some point, they need to be awake during the daytime to spot their predators and fly when it is needed.