How to determine the discharge current of lithium batteries