Most bedtime battles do not start at bedtime. They start earlier, in the slow drift of a child who is technically in the room but not yet settling, one eye on the screen, the other on the clock. The charger is not the cause of that drift. But it is the reason the phone has a reason to be there.
Moving the charger out of the bedroom is not a punishment and it does not need to be presented as one. It is a structural change, the kind that works because it removes a decision rather than demanding willpower from someone who is already tired. That matters for children and for the adults in the house equally.