Control of a mechanical hybrid powertrain door