android 判断屏幕是否亮着时间:2022-09-10 16:01:13 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); boolean screen = pm.isScreenOn();