Merge "Add min and max learned battery capacity to batterystats." into oc-dev