CAN IN SITU ANALYSIS IMPROVE BATTERY PERFORMANCE