I’m not sure what fixed it, but I haven’t had this issue even once since I last visited this thread. I want to say I adjusted the battery position but I couldn’t tell you what exactly I did. I would try to clean the terminals, check your alignment per the Trek user manual and look for anything abnormal. Sorry this isn’t very helpful mate.Did you ever find a fix? Having issues with my rail as well.