My ipad mini is on jailbroken ios 6.1 and the sleep and wake function always worked just fine, but now it only works sometimes... Can it be a smart cover issue, or an ipad issue?