Scientists have achieved a record 27.17% efficiency with n-i-p perovskite solar cells using a new graded-doping technique on SnO2.