I might be wrong but these shavers are generally "water proof", to be used in the shower and whatnot.
Turning off when charging sounds like a way to prevent someone to follow through with the shockingly brilliant idea of doing that while plugged in to the wall socket.