Fire Department: What should I do if my smoke detector is hooked directly to a power source?

The Fire Department recommends the installation of battery-operated smoke detectors to provide continuous safety in the event of a power failure.