|
1、
vi /etc/laptop-mode/conf.d/laptop-mode.conf
ENABLE_LAPTOP_MODE_ON_AC=0
改为:
ENABLE_LAPTOP_MODE_ON_AC=1
2、
vi /etc/laptop-mode/conf.d/lcd-brightness.conf
CONTROL_BRIGHTNESS=0
改为:
CONTROL_BRIGHTNESS=1
BATT_BRIGHTNESS_COMMAND="echo [value]"
LM_AC_BRIGHTNESS_COMMAND="echo [value]"
NOLM_AC_BRIGHTNESS_COMMAND="echo [value]"
BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
改为:
BATT_BRIGHTNESS_COMMAND="echo 4"
LM_AC_BRIGHTNESS_COMMAND="echo 12"
NOLM_AC_BRIGHTNESS_COMMAND="echo 8"
BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
cat /sys/class/backlight/acpi_video0/brightness
我的是15,支持0-15,我试了一下就用4,8,12了。 |
|