Battery power supply current calculation formula