Usually, battery saving settings on Huawei phones are the cause of most GPS troubles. These settings can force quit the GPS at any time, which means that the Strava app cannot continue to record your activity.
Try these steps when recording a Strava activity with a Huawei phone:
Check that you're running the latest updates of both the Strava app and your Android device.
Next, be sure to add Strava as a 'protected app' in your phone's settings and disable or ignore any energy optimizations or battery saving modes. An option shared by our community is to prevent auto-lock of the Strava record screen. Leaving the screen on for the duration of the recording may prevent the phone from shutting the GPS off.