I tried to get the brightness level of android device using dumpsys.
"dumpsys power | grep -i mScreenBrightness="
which returns the required output .
What does "-i" resembles here
where as "dumpsys power | grep mScreenBrightness=" .. also returns same value.
grep -i stands for case insensitive