Garmin Forerunner 45 turns off when in running mode and GPS in on

Good evening i have a forerunner 45 and while i was running it turned off completely, this has now happened twice and both while its battery was above 50%. i have had it for 3 years. Thanks