Text messaging leaves an electronic record of dialogue that can be entered as evidence in court. Like other forms of written evidence, text messages must be authenticated in order to be admitted (see this article on admissibility by Steve Good).
When you call a dead phone does it ring?
Answer: A: With a dead battery it should not ring but it should go to voicemail directly.