Battery is knackered if it only charges to 40v, a good battery will be about 41.4/41.5v minimum, nothing wrong with the Velo's display. Even a knackered battery that charges to 42v isn't an indication of it's well being, the tell tale is put a load on it and if it collapses then it's had it...