Hi,
Sometimes, the battery takes time to charge up and till then, you may see the status on ESXi as unknown. Can you check in iLO if the battery status is showing as charging or charged ? If its charged, you can try re-starting ESXi services. If this doesn't help, reboot ESXi, if possible.
Hope this helps.