“Battery” in Chinese is 电池 (diànchí).
电池没电了。
The battery died.
Example sentence from Tatoeba (CC BY 2.0).