A not-unreasonable solution: drink lots of water. Not only is this good for you (stay hydrated!), but your bladder will serve as an alarm clock.