您的位置:首页 > 移动开发 > Android开发

背光亮度调节流程

2015-10-21 14:20 495 查看
相关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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android开发