Text this: Energy management of battery to DC motor