Hybrid powertrains for trucks