by Marcus Vinícius
A flow to play a sound, lock the screen and mute the device when connecting to a power source.
Two options are provided:
Audio volume is maximized when disconnecting from the power source.
Audio volume is saved before muting the device, then restored when disconnecting from the power source.