Firefighters said there was a hard-wired smoke detector in the apartment that was unplugged and the battery that served as backup had been removed.