An aspect encompasses an engine system wherein a turbocharger system is coupled to an internal combustion engine to receive exhaust from the engine and to provide compressed air for combustion to the engine. The turbocharger system is driven to generate the compressed air by the exhaust from the engine. An electric machine is coupled to the rotating assembly of the turbocharger to assist generating compressed air and/or generate electricity from excess exhaust.