How to calculate the platform battery discharge current