Hi,

As of my understanding, Settings brightness corresponds to LCD back light
brightness & not ALS.
Please have a look at liblights directory in your product specific build
folder.

If you still want ALS to work as your auto brightness, you might have to
tweak the frameworks.

Regards,
Ramya


On Thu, Jun 6, 2013 at 8:03 PM, <[email protected]> wrote:

> Hi all,
> it is my first post on the group, but I read it very often. Guys you are
> very helpful!
>
> I'm working on porting android to arm and recently I met some problems.
> I don't know how to integrate *ambient light* *sensor* with *Auto
> brightness* (UI option in Settings/Display).
> The only thing I need is integration: sensor works and returns valid
> values (checked by getevent -p), the slider in settings (UI) also works
> great (dimming and brightens the screen).
> Unfortunately checking the option Auto brightness has no effect - the
> brightness of the screen remains the same despite ambient light changed.
>
> What can be the reason? How can be it fixed? Any tips are welcome.
>
> Android version is: *2.3.3*
>
> Thanks in advance for help.
>
> chaqi
>
> --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to