LITHIUM BATTERY SPARKING AND PER DISCHARGE FUNCTIONS