Is there any way to retrieve display brightness and light sensor value of iPhone?
Suppose i have a jailbroken iPhone. Either command line of ssh or object-C code are acceptable.
Located in private BackBoardServices.framework:
float BKSDisplayBrightnessGetCurrent();
As for light sensor, couldn't find any methods to retrieve it's value. There're only three methods: check for existance of the sensor, enable/disable auto-brightness.