Ambient light sensor readings (discrete vs continuous) - One (M7) General

Hi
I have noticed that the readings from the ambient light sensor on the HTC One are reported as discrete values (10,40,90,160,225,320,640,1280,2600 and finally 10240). On other devices I have experience with, the readings are often continuous.
An other issue is that the so called "ambient" light sensor on the HTC One works more like a spot light sensor, in my opinion. For example standing below a ceiling down light results in a very hight "ambient" light reading even if the actual light (hence ambient light) in the room are pretty dark. Keeping the phone at the same position just angeling it a few degrees any direction will lead to a dramatical drop in the sensor reading. The intervals in between the reported values doesn't exactly help either.
My point is that the ambient light sensor is influenced to much by direct light sources rather than actually register the ambient light in the surroundings. I have not seen similar behavior in other devices from other manufacturers.
I know that the ambient light sensor for the Galaxy SII reported discrete ambient light values with stock kernel, and continuous values with the CM kernel.
Can the HTC One kernel devs change the behavior of the HTC One ambient light sensor the same way? I'm guessing that the reported values are a result of software (kernel/config/other), rather then the actual sensor itself.
I think the behavior of the sensor can explain why the display backlight control of the HTC One seems to be "less" precise, especially in bright condition, and that the display often feels to bright.

On my Galaxy Tab, the ambient light sensor is also reported in discrete value, and it generally doesn't really work with adjusting screen brightness. tbh, the most responsive ambient light sensor i've seen is on the macbook pros.

I have been googling this looking for a solution but i have not found one. I use Sensor Explorer and it reports back that the HTC One light sensor [cm36282] has a resolution of 1 lux, so it should be able to report continuous values at this resolution. How can we enable this? Is this kernel dependent or OS dependent? I wish this issue got more attention, but as i've noticed through my googling i don't find many threads regarding this issue. I would like to have the ability to fully utilize my sensor.

Related

Automatic Light Adjustment

I've just bought a Touch 3G and as far as I can tell the Auto setting for the Backlight doesn't seem to do anything. As my last phone (P3300) didn't have this, what should I be expecting to happen? I've tried putting a finger over what I think is the sensor (right hand "LED", beside speaker) and nothing changes.
Thanks, W.
Did you set Auto adjust backlight in system menu?
Imho it is a really subtle effect. You can see it a bit when holding the light sensor (right to the speaker) to a bright light source. The display then gets a little bit brighter.
If you would like to increase the effect or customize the stepping, try g-light ( http://www.ageye.de/index.php?s=glight/about ), it lets you set specific values for each reported value from the sensor, and set the polling interval
Jade auto adjust is poor
I had the diamond prior to purchasing the jade. The diamond auto light adjust was very noticeable compared to the jade. In fact I didn't think the Jade even had a light sensor until one of the other users pointed it out.
After a little research I found this thread. http://forum.xda-developers.com/showthread.php?t=450318
I used it on my Jade and it works great. One of my problems with the diamond was the fact that the light would not automatically dim enough in low light conditions.
Thanks for the link. Now using G-Light which works pretty well. Not perfect as its sometimes a bit erratic but certainly makes better use of the light-sensor than HTC!

Light sensor position?

Does anyone know the exact position of the light sensor on N1?
Also I found the automatic brightness a little dim for me
IMO i should be able to set brightness relative to light sensor, as on symbian devices
I believe its in the top left on the front, next to proximity sensor, i use manual brightness settings.

[Q] Ambient light sensor and backlight

According to the Leo/Linux status wiki (http://htc-linux.org/wiki/index.php?title=Leo/Status) the Ambient Light Sensor is still not working properly.
That would explain why auto backlight adjustment does not work.
However, when in the phone screen the light sensor seems to work in that the screen goes dark when I cover the light sensor, as expected.
So I am curious as to the status of this regarding auto backlight specifically, does anyone have any more concrete info?
Perhaps there are separate light sensors? Or perhaps the light sensor only works in a limited fashion for the time being?
Just curious, not complaining
(P.S. the free "Battery Level" widget from the Market has worked well for me in the absence of auto backlight adjustment, in case others find it useful)
well there's a proximity sensor on the phone that comes into play while you are in an active call. it disables the back as you put the phone to your ear. you were simply simulating that action by covering the sensor with your hand.
Ah ok! Thats what the proximity sensor is. That is indeed marked as working on the status wiki, so that makes sense.
Thanks!

[Q] physical keyboard issues

does anyone else get an issue that the G2's backlight for the physical keyboard and capacative buttons have absolutly no idea when to be on and when to be off. I can be in a fully lit room and have the backlight on for no reason at all. is there any way to fix this? it gets very annoying very quickly.
It's a problem with the light sensor, but I think it can be corrected with software. The sensor seems to reflect differences in brightness really well, but the software tends to set everything to levels appropriate for brighter conditions. This leads to full screen brightness and no key backlighting even under dim interior lighting conditions.
my screen is SUPER Bright regardless of ambient light (in automode) I rely on the manual settings.
and yes I do have the same problem ... even on my second g2.
Same here. My backlight and softkeys go on and off randomly while in bright light and checking the time while waking up briefly during the night is painful because it is always extra bright.
Sent from my T-Mobile G2 using XDA App
thanks swags. hoping for a software update soon. its really annoying. also is it normal that i get this issue even without auto brightness

Available Sensors in Honor 5X

Honor 5X has the following sensors.
Accelerometer- For auto rotate feature, the accelerometer is one of the most common sensors one can find in a smartphone. It checks and analyze if a phone is ideal or is in motion. It calculates the orientation of your smartphone along 3 axes. Information gathered from Accelerometer is used by apps or OS to switch the orientation of the screen between portrait or landscape as per your movement. Any app, smartphone feature or game that reacts to you by tilting your phone depends on Accelerometer data.
Ambient Light Sensor- For adjusting the brightness automatically, the light sensor comes into the picture to measure the brightness of ambient light. It sends its reading to the phone’s brain(processor) which as per the operating system’s algorithm adjusts display’s luminosity. If the place is dark and the dusky phone automatically dims the screen brightness so that it won’t affect user’s eyes. On the other hand, under direct sunlight phone maximizes brightness level.
Proximity Sensor- The Proximity sensor is another common sensor present in every smartphone. It comes equipped with an infrared LED and an IR light detector. Proximity sensor radiates a beam of infrared light which gets reflected from the nearby object and this reflection is registered by IR scanner. Ever noticed how your screen goes off when you are on a call and your phone is near to your ears? Because of this sensor so that it allows you to have an uninterrupted calling experience because screen is off and you don’t need to bother about call getting disconnected accidentally.
Digital Compass or Magnetometer- ever ran into situation at unknown/new location and want to know the direction? As the name implies Magnetometer is used to sense Magnet fields and provide information defining your phone’s orientation with respect to it. All compass apps use Magnetometer sensor to detect your physical direction on the map. Due to this very reason our digital map rotates automatically in the same direction when we take a turn while driving.
Fingerprint Sensor- Do I really need to explain this? well yeah I certainly can quickly. The last but certainly not the least in the list is a fingerprint sensor. The fingerprint sensor is currently trending in the smartphone industry. The fingerprint sensor proves handy if you carry lots of important details in your smart device. It senses the ridges of the finger skin. Fingerprint sensors can be used to conveniently unlock the device, app lock, calling, camera click, muting alarms and many more.
Sadly it does not have Gyroscope So can't do VR related things and games like Pokemon Go

Categories

Resources