My oneplus 12r turns on automatically when charging

is it normal? cant the phone charge wile its off?