Change the sound profile automatically when starting and ending charging
This needs automation or using an app (if available) , i former is preferred option for me -Macrodroid is a versatile automation app:

You would need two macros

Trigger : Power disconnected/ connected &rarr; connected

Actions: : Volume Change &rarr; set Ringer to your desired level as also others as you wish

Constraints: None (Run always) or set up your Constraints under which macro runs

For the second macro, Trigger would be power disconnected and action would be Vibrate Enable