Hi, regarding the RTC (Real Time Clock) may be the internal battery that had lost it's power, like old computers had. there is already some talk about that somewere here in the forum.
the batteries... oh the batteries, they are the real problem. I've measure the capacity of all 252 units of mine, and some of them were out of capacity, with zero Amps, almost 64 units with less than 4000mA/h, 144 units less than 6000mA/h and in the end the remaning ones (40 units or so) less than 7000mA/h.
Currently, I'm buying more from aliexpress and rebuilding all 7 batteries. but not all the 252 units, for now only 52. Whitout the new ones I had less than 4kW/h to use on the bike, and one of the 7 batteries were preaty bad, while all the others were at 50%, the bad one was already at 0%, thats why I was having the B40. Whit the new ones I'm reaching 6kW/h.