Why is my fitbit Alta randomly turning off like the battery just died?

I charge my fitbit Alta until fully charged but then after three or four hours of being used it shuts off like the battery just died. when I put it back on the charger it displays that the battery is only half drained. why is this happening and how can it be fixed. I have already tried the factory reset and the problem is still persisting.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0