Drinking the coffee, opening doors to rooms, and getting caught by the other enemy type will all fill the white bar that will wake you up when it is full.