Here at the State, we have motion detectors on all of the light switches, including the ones in the bathrooms. If no movement is detected after about 30 minutes, the motion detector shuts off the lights.
Well, apparently the one in the bathroom is malfunctioning. I was only in there about 3 minutes when the lights went off. Since I was rather indisposed at the time, it was a few minutes before I could move to turn them back on. Fortunately, most of what I had to do could be done in the dark. After that, I got out the little pen light that I carry on my key chain.
I am just glad that I was alone at the time.