commit | d0e68d20a6ae8aa91e2aef40cec57e148eb896c1 | [log] [tgz] |
---|---|---|
author | Pontus Lidman <lidman@google.com> | Thu Jul 20 18:31:53 2023 +0000 |
committer | Pontus Lidman <lidman@google.com> | Fri Jul 21 05:42:33 2023 +0000 |
tree | 3002f4b674c588fc6898c45c9e3e4d2a67c05985 | |
parent | d0995f5a664a263b82cc4263ab71f4c5f64f6274 [diff] |
Make maximum sensor fusion rate tunable. Instead of the hard-coded 200Hz maximum rate limit for sensor fusion, make it a tunable parameter using a property: sensors.aosp_low_power_sensor_fusion.maximum_rate If the property is not specified, the default remains 200Hz. Wearable devices are recommended to change it to 100 (Hz) to save power. Bug: b/270230642 Test: dumpsys sensorservice and verify gyro-rate Change-Id: Iff07899b80366d6a9913529d5758f386848c9697