The B mode will consume more energy than the D mode. Why? Because it is always more efficient to coast than to move then energy back and forth between the battery and the wheels.
B is useful when going down steep slopes or pulling a trailer, when you want more resistance to coasting. It's...