The powerSwitch state is saved and restored.

If the fragment is redrawn on screen rotation, the powerSwitch state is
set with the state before rotation.