I use a Sony Xperia X Compact, and in the past, I've had it set up so that plugging it in to charge at night doesn't make any sound. However, that is no longer the case, and I haven't found a way to fix it. I suspect that it changed with the Android 8 update, and I can't find the setting in either Xperia Assist or the Sound settings. Can someone direct me where to go?