battery performance optimization