Yes you are right, if I do it direct after one another it startsup good everytime.
What I did is increase the time between USB and battery in small steps and found out that around 1 to 1,5 sec it starts to fail to recognize the AuxMag.
I did a git log and these are the first lines. Is this what you need?
commit d3f150f5a8b4e0977f9a1b62af689ee373a4194f
Merge: 9ca699b 94ab922
Author: Lalanne Laurent <
[email protected]>
Date: Mon Apr 4 21:36:53 2016 +0200