A Perth man who fatally injured his 28-day old daughter had previous convictions for assaulting a former partner, a court hears.