Microgrid system battery charging times