this is the reason why I think tech company ought to let employee sleep whenever they want as long as they want at work (not at meetings of course, although that is tempting sometimes), as long as they get their work done on time.
They should at least offer them for PhD students who spend most their life in office.