It seems that with the latest version Oruxmaps and Android 10 things have improved a lot.
I no longer have a problem recording tracks with my Huawei P30
Below you will find the settings that are OK for me
Hope to help people who have Huawei devices
ORUXMAPS 8.1.6 GP
ANDROID 10 SETTINGS (EMUI 11)
Location > Google Location Accuracy > ON
Location > Advanced settings> WIi-Fi and Bluetooth scanning OFF
these 2 settings prevent Android WiFi connexion warning when recording.
Notification> select Oruxmaps > alllow notification : OFF
If start GPS, FOLLOWING or Recording ON
you get only the Android location icon which is enough for me
Battery> Performance mode : OFF
Power Saving mode : OFF
Ultra Power Saving mode : OFF
Battery> App launch> select Oruxmaps
Run in background : ON
Other setttings : OFF
IF RECORDING TRACK OR FOLLOWING ROUTE (GPS always on)
1 Location > Location > select Oruxmaps> "allowed all the time"
the app will be able to access GPS in the background,
2 Disable Battery optimisation
Apps > Apps > "..." menu (top left) > Spécial Access
> Battery optimisation> Oruxmaps
To disable battery optimization, select "Don't Allow"
IF JUST CHECKING ITS POSITION COMPARED TO A TRACK (power frendly)
1 Location > Location > select Oruxmaps> "only using app"
2 Enable Battery optimisation
Apps > Apps > "..." menu (top left) > Spécial Access
> Battery optimisation> Oruxmaps
To enable battery optimization, select "Allow"
ORUXMAPS SETTINGS
Sensors > GPS>
Minimum time> 0.5 sec
FUSED LOCATIONS PROVIDER : OFF (doesn't matter)
I no longer have a problem recording tracks with my Huawei P30
Below you will find the settings that are OK for me
Hope to help people who have Huawei devices
ORUXMAPS 8.1.6 GP
ANDROID 10 SETTINGS (EMUI 11)
Location > Google Location Accuracy > ON
Location > Advanced settings> WIi-Fi and Bluetooth scanning OFF
these 2 settings prevent Android WiFi connexion warning when recording.
Notification> select Oruxmaps > alllow notification : OFF
If start GPS, FOLLOWING or Recording ON
you get only the Android location icon which is enough for me
Battery> Performance mode : OFF
Power Saving mode : OFF
Ultra Power Saving mode : OFF
Battery> App launch> select Oruxmaps
Run in background : ON
Other setttings : OFF
IF RECORDING TRACK OR FOLLOWING ROUTE (GPS always on)
1 Location > Location > select Oruxmaps> "allowed all the time"
the app will be able to access GPS in the background,
2 Disable Battery optimisation
Apps > Apps > "..." menu (top left) > Spécial Access
> Battery optimisation> Oruxmaps
To disable battery optimization, select "Don't Allow"
IF JUST CHECKING ITS POSITION COMPARED TO A TRACK (power frendly)
1 Location > Location > select Oruxmaps> "only using app"
2 Enable Battery optimisation
Apps > Apps > "..." menu (top left) > Spécial Access
> Battery optimisation> Oruxmaps
To enable battery optimization, select "Allow"
ORUXMAPS SETTINGS
Sensors > GPS>
Minimum time> 0.5 sec
FUSED LOCATIONS PROVIDER : OFF (doesn't matter)