Power to Patiala prison snapped, restored later