"There was a short circuit in the air conditioning (AC) unit after which we switched off electricity in the whole campus. The situation came under control later on," Dr P Y Rajendra Kumar, Director General of the library, told PTI.
There was no damage to the heritage structure or any books or documents as the AC plant is separate from the main library building.
Fire brigade officials said two fire engines were sent to the spot which put off the blaze.