Merge "Adding batterystats history to proto dump." into pi-dev