begin backporting battery from m7