I know that people have given you the best ways to make your device brighter. Without denying this, but just out of curiosity, if you want to find the corresponding files where the brightness is stored, here they are:
- Nexus S:
/sys/devices/platform/s3cfb/spi_gpio.3/spi3.0/backlight/s5p_bl/brightness - Galaxy Y:
/sys/devices/platform/aat1401-backlight.0/backlight/aat1401-backlight/brightness - Galaxy S:
/sys/devices/platform/omap2_mcspi.1/spi1.0/backlight/omap_bl/actual_brightness
Galaxy S also has a file called brightness , but actual_brightness seems more accurate. It captures the screen of the device, which becomes half-light after a certain idle time.
In a nutshell, there are no standard paths / files on Samsung devices. Of course, this is not the best way to get brightness, but if you're interested, these are some of the files.
The best way to find out from your desktop is to run
adb shell ls -R /sys/devices >files.txt
and then
grep -i bright files.txt
:-)
source share