I got a Xiaomi JY-GZ-01AQ smoke detector a few weeks ago. It started beeping indicating that the battery was low, even if it is brand new, so I changed the battery to a fresh one. Still, the battery status in HA is 0%, and the detector beeps indicating that the battery is low.
I got this from the Aqara brand and experienced the same with Z2M. Upgrading Z2M fixed that (a wrong conversion from voltage to % was used, so they only appreared to be low on battery)