San Francisco code (maybe CA?) requires that office lighting be tied to motion detectors. In my experience, if you're in the only one in late, you have to dance around the room every 15 minutes unless you want to sit in darkness. At some desks you could stay sitting and wave your arms about.