Merge "Update mMinLearnedBatteryCapacity when necessary."