One night I got up in the middle of the night to go to the bathroom and relied on my motion sensor to turn the lights on for me. It did, but then they shut off a few minutes later because it thought nobody was there anymore. Thankfully I had grabbed my phone so I could use it as a flashlight to get back to bed.