downtimed is a program that monitors operating system downtime, uptime, shutdowns, and crashes and records such events. At OS startup it logs information about previous downtime. It then periodically updates a time stamp file on the disk, which is used to determine the approximate time when the system was last up and running. During a graceful system shutdown, it records a time stamp in another file. The downtimes(1) command line tool can be used to inspect records of past downtime.
Mole (Mobile Organic Localization Engine) provides room-level geoposition estimates using existing WiFi infrastructure. When you create an entry in the database by naming a room, your and other users' mobile devices will recognize when they are in that room. Other applications can poll or monitor the current room estimate and act accordingly, with context aware behavior. Because too much WiFi scanning drains batteries, it uses accelerometers and other tricks to keep scanning to a minimum while keeping update latency reasonable.