DC system battery heat generation