背光亮度调节流程

相关log:

01-01 19:08:17.859   597   597 I StatusBar.BrightnessController: BrightnessController::setMode()>>>>>>>> mode= 1
01-01 19:08:17.899   541   789 W BackupManagerService: dataChanged but no participant pkg='com.android.providers.settings' uid=10011
01-01 19:08:10.1150   541   568 I KERNEL  : [ 1203.768616] stk_als_enable_store: Enable ALS : 1
01-01 19:08:17.899   541   568 D DisplayPowerController: requestPowerState: screenState=2, useProximitySensor=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, blockScreenOn=false, waitForNegativeProximity=false
01-01 19:08:10.1164   541   568 I KERNEL  : [ 1203.781990] ======== STK_POLL_ALS 
01-01 19:08:17.919   541   568 I DisplayPowerController: [updatePowerState]: mPowerRequest.useAutoBrightness = true
01-01 19:08:17.919   541   568 D DisplayPowerController: Display ready!
01-01 19:08:17.919   541   568 D DisplayPowerController: requestPowerState: screenState=2, useProximitySensor=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, blockScreenOn=false, waitForNegativeProximity=false
01-01 19:08:17.929   541   568 D DisplayPowerState: setScreenBrightness: brightness=100
01-01 19:08:17.939   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=100
01-01 19:08:10.1187   541  1909 I KERNEL  : [ 1203.805707] led_pwm_set------------brightness = 100, old_brightness = 102.
01-01 19:08:17.939   541  1909 D DisplayPowerState: Updating screen state: on=true, backlight=100
01-01 19:08:10.1195   541  1909 I KERNEL  : [ 1203.813437] xgold-pwm e4100000.pwm: capcom config: 15686ns/40000ns
01-01 19:08:10.1202   541  1909 I KERNEL  : [ 1203.820537] __led_pwm_set is called with duty = 15686, period = 40000.
01-01 19:08:10.1210   541  1909 I KERNEL  : 
01-01 19:08:10.1210   541  1909 I KERNEL  : [ 1203.828370] xgold-pwm e4100000.pwm: capcom config: 15686ns/40000ns
01-01 19:08:17.969   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:17.969   541   568 D DisplayPowerState: setScreenBrightness: brightness=94
01-01 19:08:17.969   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=94
01-01 19:08:17.969   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=94
01-01 19:08:10.1219   541   605 I KERNEL  : [ 1203.837960] led_pwm_set------------brightness = 94, old_brightness = 100.
01-01 19:08:10.1227   541   605 I KERNEL  : [ 1203.845045] xgold-pwm e4100000.pwm: capcom config: 14745ns/40000ns
01-01 19:08:17.989   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:17.989   541   568 D DisplayPowerState: setScreenBrightness: brightness=90
01-01 19:08:17.989   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=90
01-01 19:08:17.989   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1234   541   605 I KERNEL  : [ 1203.852813] __led_pwm_set is called with duty = 14745, period = 40000.
01-01 19:08:10.1241   541   605 I KERNEL  : 
01-01 19:08:10.1241   541   605 I KERNEL  : [ 1203.859406] xgold-pwm e4100000.pwm: capcom config: 14745ns/40000ns
01-01 19:08:17.999   541   568 D DisplayPowerState: setScreenBrightness: brightness=87
01-01 19:08:17.999   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=87
01-01 19:08:17.999   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:17.999   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=87
01-01 19:08:10.1249   541   605 I KERNEL  : [ 1203.867057] led_pwm_set------------brightness = 87, old_brightness = 94.
01-01 19:08:10.1256   541   605 I KERNEL  : [ 1203.874080] xgold-pwm e4100000.pwm: capcom config: 13647ns/40000ns
01-01 19:08:18.019   541   568 D DisplayPowerState: setScreenBrightness: brightness=83
01-01 19:08:18.019   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=83
01-01 19:08:18.019   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1262   541   605 I KERNEL  : [ 1203.880653] __led_pwm_set is called with duty = 13647, period = 40000.
01-01 19:08:10.1269   541   605 I KERNEL  : 
01-01 19:08:10.1269   541   605 I KERNEL  : [ 1203.887363] xgold-pwm e4100000.pwm: capcom config: 13647ns/40000ns
01-01 19:08:10.1276   541   605 I KERNEL  : [ 1203.894311] led_pwm_set------------brightness = 83, old_brightness = 87.
01-01 19:08:18.029   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=83
01-01 19:08:18.029   541   568 D DisplayPowerState: setScreenBrightness: brightness=80
01-01 19:08:18.029   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=80
01-01 19:08:18.029   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:18.049   541   568 D DisplayPowerState: setScreenBrightness: brightness=77
01-01 19:08:18.049   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=77
01-01 19:08:10.1283   541   605 I KERNEL  : [ 1203.901726] ======stk_als_timer_func 
01-01 19:08:10.1283   541   605 I KERNEL  : [ 1203.901726]  
01-01 19:08:10.1288   541   605 I KERNEL  : [ 1203.901729] xgold-pwm e4100000.pwm: capcom config: 13019ns/40000ns
01-01 19:08:18.049   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:18.049   541   568 D DisplayPowerController: updateAmbientLux: Initializing: , mRecentShortTermAverageLux=1.0, mRecentLongTermAverageLux=1.0, mAmbientLux=1.0
01-01 19:08:18.049   541   568 D DisplayPowerController: updateAutoBrightness: mScreenAutoBrightness=62, newScreenAutoBrightness=61
01-01 19:08:18.049   541   568 I DisplayPowerController: [updatePowerState]: mPowerRequest.useAutoBrightness = true
01-01 19:08:10.1295   541   605 I KERNEL  : [ 1203.913334] __led_pwm_set is called with duty = 13019, period = 40000.
01-01 19:08:18.059   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=77
01-01 19:08:18.059   541   568 D DisplayPowerState: setScreenBrightness: brightness=74
01-01 19:08:18.059   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=74
01-01 19:08:10.1302   541   605 I KERNEL  : 
01-01 19:08:10.1302   541   605 I KERNEL  : [ 1203.920212] xgold-pwm e4100000.pwm: capcom config: 13019ns/40000ns
01-01 19:08:10.1308   541   605 I KERNEL  : [ 1203.926927] led_pwm_set------------brightness = 77, old_brightness = 83.
01-01 19:08:18.059   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1315   541   605 I KERNEL  : [ 1203.933786] xgold-pwm e4100000.pwm: capcom config: 12078ns/40000ns
01-01 19:08:18.079   541   568 D DisplayPowerState: setScreenBrightness: brightness=71
01-01 19:08:18.079   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=71
01-01 19:08:18.079   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1322   541   605 I KERNEL  : [ 1203.940260] __led_pwm_set is called with duty = 12078, period = 40000.
01-01 19:08:10.1328   541   605 I KERNEL  : 
01-01 19:08:10.1328   541   605 I KERNEL  : [ 1203.946698] xgold-pwm e4100000.pwm: capcom config: 12078ns/40000ns
01-01 19:08:18.089   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=71
01-01 19:08:10.1335   541   605 I KERNEL  : [ 1203.953568] led_pwm_set------------brightness = 71, old_brightness = 77.
01-01 19:08:10.1342   541   605 I KERNEL  : [ 1203.960663] xgold-pwm e4100000.pwm: capcom config: 11137ns/40000ns
01-01 19:08:18.099   541   568 D DisplayPowerState: setScreenBrightness: brightness=67
01-01 19:08:18.099   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=67
01-01 19:08:18.099   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1349   541   605 I KERNEL  : [ 1203.967001] __led_pwm_set is called with duty = 11137, period = 40000.
01-01 19:08:10.1355   541   605 I KERNEL  : 
01-01 19:08:10.1355   541   605 I KERNEL  : [ 1203.973463] xgold-pwm e4100000.pwm: capcom config: 11137ns/40000ns
01-01 19:08:18.119   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=67
01-01 19:08:10.1362   541   605 I KERNEL  : [ 1203.980856] led_pwm_set------------brightness = 67, old_brightness = 71.
01-01 19:08:10.1370   541   605 I KERNEL  : [ 1203.988165] xgold-pwm e4100000.pwm: capcom config: 10509ns/40000ns
01-01 19:08:18.119   541   568 D DisplayPowerState: setScreenBrightness: brightness=64
01-01 19:08:18.119   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=64
01-01 19:08:18.119   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:18.129   541   568 D DisplayPowerState: setScreenBrightness: brightness=61
01-01 19:08:18.129   541   568 D DisplayPowerState: Requesting new screen state: on=true, backlight=61
01-01 19:08:18.129   541   568 D DisplayPowerState: Screen not ready
01-01 19:08:10.1376   541   605 I KERNEL  : [ 1203.994455] __led_pwm_set is called with duty = 10509, period = 40000.
01-01 19:08:18.139   541   605 D DisplayPowerState: Updating screen state: on=true, backlight=61
01-01 19:08:11.383   541   605 I KERNEL  : 
01-01 19:08:11.383   541   605 I KERNEL  : [ 1204.001160] xgold-pwm e4100000.pwm: capcom config: 10509ns/40000ns
01-01 19:08:11.390   541   605 I KERNEL  : [ 1204.008348] ======stk_als_timer_func 
01-01 19:08:11.390   541   605 I KERNEL  : [ 1204.008348]  
01-01 19:08:11.395   541   605 I KERNEL  : [ 1204.008351] led_pwm_set------------brightness = 61, old_brightness = 67.
01-01 19:08:11.402   541   605 I KERNEL  : [ 1204.020688] xgold-pwm e4100000.pwm: capcom config: 9568ns/40000ns
01-01 19:08:11.408   541   605 I KERNEL  : [ 1204.026630] __led_pwm_set is called with duty = 9568, period = 40000.
01-01 19:08:11.415   541   605 I KERNEL  : 
01-01 19:08:11.415   541   605 I KERNEL  : [ 1204.033244] xgold-pwm e4100000.pwm: capcom config: 9568ns/40000ns
01-01 19:08:18.179   541   568 D DisplayPowerState: Screen ready

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值