Merge "Add battery discharge prediction APIs."