Moto G LTE(thea)只有1G的内存,运行Android 5.0.2的系统,在打开应用或者打开网页比较多比较多的情况下,内存会经常出来不够用的情况。可以感觉到,在recent app中切换较早打开的应用的时候,就像开机后第一次打开的那种情况,说明应用在后台已经被杀死了。还是换一台手机吧,Galaxy A9不知道怎么样,买一个回来看看。
- 特点:
- 双面2.5D玻璃金属边框设计
- 6英寸全高清Super AMOLED屏
- 13M主摄象头,OIS光学防抖,F1.9大光圈, 1080p录象
- 8M前置摄象头,F1.9大光圈
- 大电池(4000mAH)
- 骁龙652(MSM8976)处理器,3G内存
- 指纹解锁
- 所使用的sensor:
DUMP OF SERVICE sensorservice: Sensor List: BOSCH Accelerometer Sensor| Bosch Sensortec GmbH| version=4 |android.sensor.accelerometer| 0x00001c10 | "" | type=1 | continuous | minRate=6.25Hz | maxRate=100.00Hz | no batching | non-wakeUp | last=< 2.1, -3.6, 8.4, 106457819709> Samsung Significant Motion Sensor| Bosch Sensortec GmbH| version=1 |android.sensor.significant_motion| 0x00001c40 | "" | type=17 | one-shot | maxDelay=0us |minDelay=-1us |no batching | wakeUp | last=<0.000000 0> Samsung Step Detector Sensor| Bosch Sensortec GmbH| version=1 |android.sensor.step_detector| 0x00001c21 | "" | type=18 | special-trigger | maxDelay=0us |minDelay=0us |no batching | non-wakeUp | last=<0.000000 0> Samsung Step Counter Sensor| Bosch Sensortec GmbH| version=1 |android.sensor.step_counter| 0x00001c22 | "" | type=19 | on-change | maxDelay=0us |minDelay=0us |no batching | non-wakeUp | last=<0, 0> BOSCH Tilt Detector Sensor| Bosch Sensortec GmbH| version=1 |android.sensor.tilt_detector| 0x00001c45 | "" | type=22 | special-trigger | maxDelay=0us |minDelay=-1us |no batching | wakeUp | last=< 0.0, 0.0, 0.0, 0> BOSCH Pick Up Gesture Sensor| Bosch Sensortec GmbH| version=1 |android.sensor.pick_up_gesture| 0x00001c48 | "" | type=25 | one-shot | maxDelay=0us |minDelay=-1us |no batching | wakeUp | last=< 0.0, 0.0, 0.0, 0> Samsung AutoRotation| Samsung | version=4 |com.samsung.sensor.screen_rotation| 0x00001c29 | "" | type=65558 | on-change | maxDelay=0us |minDelay=0us |no batching | non-wakeUp | last=< -1.0, 0.0, 0.0, 98243126168> AK09916C Magnetic field Sensor| Asahi Kasei Microdevices| version=1 |android.sensor.magnetic_field| 0x00000002 | "" | type=2 | continuous | minRate=5.00Hz | maxRate=100.00Hz | no batching | non-wakeUp | last=< 0.0, 0.0, 0.0, 0> AK09916C Uncalibrated Magnetic field Sensor| Asahi Kasei Microdevices| version=1 |android.sensor.magnetic_field_uncalibrated| 0x00000005 | "" | type=14 | continuous | minRate=5.00Hz | maxRate=100.00Hz | no batching | non-wakeUp | last=< 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0> CM36655 Proximity Sensor| Capella Microsystems, Inc.| version=1 |android.sensor.proximity| 0x00000003 | "" | type=8 | on-change | minRate=5.00Hz | minDelay=0us |no batching | wakeUp | last=< 0.0, 0.0, 0.0, 0> CM36655 Light Sensor| Capella Microsystems, Inc.| version=1 |android.sensor.light| 0x00000004 | "" | type=5 | on-change | minRate=5.00Hz | maxRate=100.00Hz | no batching | non-wakeUp | last=< 5.0,4354.0, 0.0, 106369797562> Samsung Geomagnetic Rotation Vector Sensor| Samsung Electronics.| version=1 |android.sensor.geomagnetic_rotation_vector| 0x5f677276 | "" | type=20 | continuous | maxDelay=0us |maxRate=100.00Hz | no batching | non-wakeUp | last=< 0.0, 0.0, 0.0, 0.0, 0.0, 0> Orientation Sensor| Samsung Electronics.| version=1 |android.sensor.orientation| 0x73797072 | "" | type=3 | continuous | maxDelay=0us |maxRate=100.00Hz | no batching | non-wakeUp | last=< 0.0, 0.0, 0.0, 0> 9-axis fusion disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 > halVersion 16973825 11 h/w sensors: handle=0x00001c10, active-count=1, batch_period(ms)={ 200.0 }, selected=200.0 ms handle=0x00001c10, active-count=1, batch_timeout(ms)={ 0.0 }, selected= 0.0 ms handle=0x00001c40, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00001c40, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00001c21, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00001c21, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00001c22, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00001c22, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00001c45, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00001c45, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00001c48, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00001c48, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00001c29, active-count=1, batch_period(ms)={ 1.0 }, selected= 1.0 ms handle=0x00001c29, active-count=1, batch_timeout(ms)={ 0.0 }, selected= 0.0 ms handle=0x00000002, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00000002, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00000005, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00000005, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00000003, active-count=0, batch_period(ms)={ }, selected=-0.0 ms handle=0x00000003, active-count=0, batch_timeout(ms)={ }, selected=-0.0 ms handle=0x00000004, active-count=1, batch_period(ms)={ 200.0 }, selected=200.0 ms handle=0x00000004, active-count=1, batch_timeout(ms)={ 0.0 }, selected= 0.0 ms Active sensors: CM36655 Light Sensor (handle=0x00000004, connections=1) BOSCH Accelerometer Sensor (handle=0x00001c10, connections=1) Samsung AutoRotation (handle=0x00001c29, connections=1) Socket Buffer size = 39 events
没有陀螺仪?但是有signification motion sensor, step detector sensor, step counter sensor, pick up gesture sensor, geomagnetic rotation vector sensor。
9-axis fusion disabled(0 clients), gyro-rate=200.00Hz, 到低有没有陀螺仪啊?
[2016-01-12 20:57:41]
今天特地去看了一下代码,看到是没有gyroscope了
相关的代码在这里:frameworks/native/services/sensorservice/SensorFusion.cpp
从dump出来的sensor list中也可以看到,系统中的rotation vector为geomagnetic rotation vector, 而并非game rotation vector。相比于game rotation vector (based on gyroscope), 优点是:
- 功耗低
- 在户外的性能会更好
但噪声会相对大一些
详见frameworks/base/core/java/android/hardware/Sensor.java @ android-5.1
- 对USB OTG的支持情况
支持