A hardwired smoke detector is a better choice than a battery smoke detector. Hardwired smoke detectors are more expensive, but they last longer and are easier to install. Battery smoke detectors are not as reliable and are also more expensive to replace.