Dears,
I had ported TI-Android-GingerBread-2.3.4-DevKit-2.1 to AM3730 and all functionalities are OK.
We have 5 sensors in my device -> G-sensor, E-compass, Gyroscope, Proximity sensor and Light sensor.
Recently, I met a problem that is the system performance will slow down when I enable HAL for sensors.
I used DDMS to debug and I found a message -> "The CPU utilization for SensorService is 72%"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
There are some scenarios will cause system performance slow down and please refer to the following for detail:
1. Everything will be fine if I enable G-sensor, E-compass and Gyroscope. (Disable Proximity sensor and Light sensor)
2. Performance will slow down if enable G-sensor, E-compass, Gyroscope and Proximity sensor. (Disable Light sensor)
3. Performance will slow down if enable G-sensor, E-compass, Gyroscope and Light sensor. (Disable Proximity sensor)
4. Performance will slow down if enable G-sensor, E-compass, Gyroscope, Proximity sensor and Light sensor.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I think the root cause are Proximity sensor and Light sensor but I have no idea to find out it.
Anyone has a good idea for this issue ?
Best regards,
Jake