Intent intent = new Intent();
intent.setComponent(new ComponentName("com.mile.projectorctrl", "com.mile.projectorctrl.OffScreenPowerService"));
startService(intent);
注:其他服务的配置里需要添加export
<service
android:name=".OffScreenPowerService"
android:exported="true" />