1 经常会遇到用调节背光的亮度
用命令调节比较方便
2 用userdebug 版本
如:
adb shell
查看当前背光的值
adb shell cat /sys/class/backlight/backlight1/brightness
# cat /sys/class/backlight/backlight1/brightness
155
再次设置背光的值
用echo 输入调节
echo 1 >/sys/class/backlight/backlight1/brightness
# cat /sys/class/backlight/backlight1/brightness
1
3 亮屏/息屏
adb shell input keyevent 26
4 搞定
网友评论