I haven't seen a shaver socket that doesn't disconnect the transformer when the shaver is unplugged.A more pertinent question would be, how much electricity does a shaver socket use, when it’s NOT being used….
Is there any wastage, just leaving it connected with nothing plugged in?
Same question with a usb socket… if nothing plugged in.
Usb socket draws about 0.05W when nothing is plugged in