adb definir o brilho da tela

1. Verifique se o brilho é ajustado automaticamente

adb shell settings get system screen_brightness_mode
 
0:未开启           1:开启

2. Modifique o brilho do dispositivo para ajustar/cancelar automaticamente o ajuste automático

# 关闭
 
adb shell settings put system screen_brightness_mode 0
 
# 开启
 
adb shell settings put system screen_brightness_mode 112345

3. Obtenha o valor de brilho da tela atual do celular

adb shell settings get system screen_brightness
 
# 输出:'90\n'
 
# 1234

4. Defina o brilho máximo da tela do celular atual para 255
 

adb shell settings put system screen_brightness xxxx
 
# 如设置为1000
 
adb shell settings put system screen_brightness 1000


---------------------
Autor: Acabou sendo Tuge
Fonte: CSDN Texto original
: https://blog.csdn.net/JiYaRuo/article/details /118390642
Isenção de responsabilidade de direitos autorais: este artigo é o artigo original do autor, anexe o link para a postagem do blog para reimpressão!
Análise de conteúdo Por: CSDN, CNBLOG postagem no blog plug-in de reimpressão com um clique

おすすめ

転載: blog.csdn.net/xiaowang_lj/article/details/132075499