Reboots by running OsmAnd navigation on a charging LOS Fairphone2

I’ve just posted something similar to this on a different topic. I have a strange feeling it’s something to do with charging that causes the reboot (mainly in the night for me). I learnt how to get the last_kmsg.txt file by looking at this article.