System permissions, such as access to PowerManager, require that the application be signed with the platform key, in addition to providing android.permission.POWERMANAGER or a similar permission in the manifest.
As for signing with the platform key, we can do this by building all the firmware with the application turned on.
source share