1. A method, comprising: receiving, by a processor, outlet messages sent from electrical outlets of an electrical distribution system, each one of the outlet messages comprising a device identifier and an outlet identifier, the device identifier associated with a mobile device communicating with a transceiver in a corresponding one of the electrical outlets, and the outlet identifier uniquely identifying the transceiver in the corresponding one of the electrical outlets; and adding, by the processor, an entry to an electronic database of locations associated with the mobile device, the electronic database of locations having entries that log the outlet identifier as an indoor location associated with the mobile device.