<human>:  How do you go about replacing the battery in a smoke detector?
<bot>: To replace the battery in a smoke detector, begin by turning off the power at the fuse box or breaker. Then, unscrew and remove the smoke detector’s cover plate and detach the old battery. Install the new battery and secure it in place before replacing the cover plate and reattaching the power again. Test the smoke detector to ensure it is functioning.