My microphone is working properly when my offline UPS is charging!
But here is the twist, distortion comes whenever the mains shuts down (yep, we have bad electricity) or whenever the UPS is not connected to the mains (operating on battery).
And it won't go away, untill it is getting charged...