Do you have a diagnostic tool that can reset the battery monitor to indicate that a new battery has been fitted? This worked wonders on a D4 battery that couldn't stay charged. The suspicion is that the smart charging reduced charge as the battery aged without reference to the battery's ability to still accept full charge.
Bookmarks