How long does it take for a smoke detector to die once it starts beeping?

If you are referring to an intermittent beeping that is the battery low alarm, there is about a week of life left in the unit.

<<>>

if the smoke is completely gone about 50 secs