Could be a sub-par battery... Try a new one. If that one produces the same results, I would start looking at electrical systems to see if anything is drawing excessive current while the bike is powered off.
Welcome.
First question: How old was the old battery and did it keep a charge or why did you replace it.
Second question: Did you do a drawdown test on the new battery to determine if it is a good battery?