Battery not charging to 100% could caused by the battery itself or the battery gauge chip (MAX17xx). Try a known good battery.