How to prevent screen flickering?

My iPad mini (gen 2) got screen flickering last month and I had to pay 200$ for the replacement. It seems quite common since two of four people I known using iPad mini 2 also got this problem. Could anyone give me some advice for preventing this problem?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0