Performance optimization is crucial in software development. Please tell me about a time when you optimized system performance for an Android system, focusing on aspects like battery life and processing efficiency.