Linux的/ shell命令来控制屏幕亮度的android [英] Linux/shell command to control screen brightness in android

查看:1400
本文介绍了Linux的/ shell命令来控制屏幕亮度的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在亭项目使用的是Android tablet.If没有输入电源亭很长一段时间,然后工作,该平板电脑将最终shutdown.In以自动重新启动的标签,当电源回来我修改了code在我的标签电池的动画文件(iPod)的使用:

I am working on a kiosk project using an android tablet.If there is no input power to the kiosk for a long time then, the tablet will eventually shutdown.In order to auto-reboot the tab when the power comes back I modified the code in my tabs battery animation file(ipod) using:

#!/system/bin/sh
sleep 300
/system/bin/reboot

然而,在睡眠期间(如上所示),翼片屏幕保持在接通状态(并因此需要较长的时间重试的标签进行充电和启动).I需要把画面关闭。 什么是命令,我应该使用前的睡眠命令把我的标签屏幕关闭在充电/启动阶段。谢谢!

However,during the sleep period(shown above),the tabs screen remains in the ON state (and hence takes longer retries for the tab to charge and bootup).I need to turn the screen OFF. What is the command I should use prior to the sleep command to turn my tabs screen OFF during the charging/bootup stage. Thanks !

推荐答案

试一下这个命令也

echo 100 > /sys/devices/platform/nov_cabc.0/leds/lcd-backlight/brightness

echo 100 > brightness

这篇关于Linux的/ shell命令来控制屏幕亮度的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆