I used to have the same boring procedure every night. Plug in the power cable to recharge the phone and turn sounds off manually. So I decided to create an app to automate this procedure.
With this app, user can define the time interval within the app is active (eg. 23:00 up to 6:00am) as well as the appropriate actions to be taken when user plugs in or unplugs the device from the power cord. You can mute not only the call ring tones but also the sms/social network/emails notifications.
The application does not require many resources as it's triggered only on power cord plug in/out and on specific times. On Android 5+ muting is in form of "Do not disturb" mode, which means that user can allow some important contacts (eg. favorites) to disturb the silence. (See the phone setting for this mode).
It's called Silence@Power and you can give it a try on Play Store (play store link)