QuickSettings.qml tries to assign an undefined value to an int
pmSource.data["PowerDevil"]["Screen Brightness"];
appears to be undefined. This happens on Qemu, so brightness is not available here. This might not happen on actual devices, but should probably still be fixed.