Edge 25 powering off mid ride

Today I was doing a ride and my edge 25 abruptly powered off at around 40 KM. All ride data was lost. Powered it on again and it said something about setting the clock/time from GPS (it was a progress bar), After that I started a ride but it kept powering off now and then, not saving the captured data until the power off.

1. Any idea what the problem could be? I'm attaching the ERR_LOG.TXT which shows a crash (errnum: 0x001) and backtrace.
2. Is there any way I could salvage the ride data?