Possible workaround for aborting recordings on Huawei phones
until the recent EMUI update Locus was running and recording smoothly on my Huawei Mate 9. After the recent update recordings have been aborted (Locus killed) some minutes after the screen has been turned off. I had all optimization options configured as suggested in other topics.
It seemed to work when I enabled Locus to ignore screen lock (don't know the exact term since I use the german version) and turn off the screen while Locus is in the foreground. I'm not totally sure about that one since I found that solution impracticable.
Then I came across a thread on oruxmaps' boards (http://www.oruxmaps.com/foro/viewtopic.php?p=13590#p13590) in which people were reporting the same problem. A user mentioned that it worked if he started the recording using an oruxmaps widget. Later on users reported that only the existence of that widget on one of your screens seemed sufficient to keep it running.
So I added the small recording widget to one of my home screens, started Locus using the normal app icon and it seems to keep running. I still have Locus running as a service and the energy options configured as suggested.
Could others with that problem please verify if that works for them, too? If it does, this tipp could be added to http://docs.locusmap.eu/doku.php?id=manual:faq:gps_lost_fix_android6.