To me it sounds normal. At least, I would not surprise if I hear this phrase. Maybe, it is a bit "official", but just a little bit.
But if you suggest "Я разговаривал с начальником при работе с электричеством", then yes, it is awkward. I would replace it with "... во время работы с электричеством" then.
Other opinions are welcome
