Some users on ifixit said that switching the polarity worked for them: https://www.ifixit.com/Answers/View/83099/Smart+Cover+Magnet...