younglo / cyanogenmod4milestone

Automatically exported from code.google.com/p/cyanogenmod4milestone
0 stars 0 forks source link

Light sensor stops working after a while #787

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
CM7.2.4f

What steps will reproduce the problem?
1. Use the phone for a while normally

What is the expected output? What do you see instead?
The light sensor values should update once every few seconds depending on light 
status. However the values stay fixed.

What did you do trying to solve the problem?
A reboot fixes the issue temporarily. I wonder if there is some service which 
gets killed because of low memory causing this issue?

Please provide any additional information below. (/cache/logger, /dev/log)
If you need more information, please ask!

Original issue reported on code.google.com by evren.yu...@gmail.com on 6 Apr 2013 at 8:38

GoogleCodeExporter commented 8 years ago
See this post I wrote about this issue in the past:
http://forum.xda-developers.com/showpost.php?p=30014823&postcount=8072
And here about the workaround that is the best I could do about it so far:
http://forum.xda-developers.com/showpost.php?p=31566360&postcount=8173

Original comment by kabal...@gmail.com on 6 Apr 2013 at 9:42

GoogleCodeExporter commented 8 years ago
I actually found the camera button trick but it didnt seem to do anything. I 
will re-test it when the issue occurs again. So... also turning off the display 
and back on using power button should make kernel read the value...

I will retest the issue. But in my case it appeared like the sensor value was 
stuck in some low value. I will make a more careful test to see if it updates 
at all or not...

Thanks!

Original comment by evren.yu...@gmail.com on 10 Apr 2013 at 12:03

GoogleCodeExporter commented 8 years ago
Yes, pressing the camera button seems to get the light level again. It is sad 
that this is unfixable :( but thanks for the reply.

Original comment by evren.yu...@gmail.com on 17 Apr 2013 at 7:14