[Xiaomi Pad 6] murtzsch:
thanks, works far better/faster than crdoid.

running latest build, adb logcat is flooded by

03-06 00:20:44.441 1645 5876 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:44.442 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:44.444 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:44.581 0 0 I [bq2597x-STANDALONE]: bq2597x_charger_get_property:POWER_SUPPLY_PROP_CHARGING_ENABLED: disable
03-06 00:20:44.598 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=0
03-06 00:20:44.602 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=0 completed
03-06 00:20:44.603 1102 1102 I sensors-hal: batch:180, android.sensor.accelerometer/50, period=200000000, max_latency=0
03-06 00:20:44.604 1102 1102 I sensors-hal: batch:189, android.sensor.accelerometer/50, period=200000000, max_latency=0 request completed
03-06 00:20:44.604 1102 1102 E sensors-hal: flush:205, invalid flush request, active=0, oneshot=0
03-06 00:20:44.604 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=1
03-06 00:20:44.604 1102 1102 I sensors-hal: get_qmi_debug_flag:241, support_qmi_debug : false
03-06 00:20:44.610 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=1 completed
03-06 00:20:44.763 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:44.764 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:44.766 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:44.918 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:44.919 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:44.921 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:45.075 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=0
03-06 00:20:45.077 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=0 completed
03-06 00:20:45.079 1102 1102 I sensors-hal: batch:180, android.sensor.accelerometer/50, period=200000000, max_latency=0
03-06 00:20:45.079 1102 1102 I sensors-hal: batch:189, android.sensor.accelerometer/50, period=200000000, max_latency=0 request completed
03-06 00:20:45.079 1102 1102 E sensors-hal: flush:205, invalid flush request, active=0, oneshot=0
03-06 00:20:45.079 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=1
03-06 00:20:45.081 1102 1102 I sensors-hal: get_qmi_debug_flag:241, support_qmi_debug : false
03-06 00:20:45.093 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=1 completed
03-06 00:20:45.244 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:45.245 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:45.247 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:45.400 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:45.401 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:45.403 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:45.558 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=0
03-06 00:20:45.562 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=0 completed
03-06 00:20:45.563 1102 1102 I sensors-hal: batch:180, android.sensor.accelerometer/50, period=200000000, max_latency=0
03-06 00:20:45.563 1102 1102 I sensors-hal: batch:189, android.sensor.accelerometer/50, period=200000000, max_latency=0 request completed
03-06 00:20:45.564 1102 1102 E sensors-hal: flush:205, invalid flush request, active=0, oneshot=0
03-06 00:20:45.564 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=1
03-06 00:20:45.565 1102 1102 I sensors-hal: get_qmi_debug_flag:241, support_qmi_debug : false
03-06 00:20:45.575 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=1 completed
03-06 00:20:45.604 0 0 I [bq2597x-STANDALONE]: bq2597x_charger_get_property:POWER_SUPPLY_PROP_CHARGING_ENABLED: disable
03-06 00:20:45.604 0 0 I FG : fg_battery_soc_smooth_tracking: entry:smooth_batt_soc0
03-06 00:20:45.604 0 0 I FG : calculate_average_current: current_now_ma=-439452 averaged_iavg_ma=-318114
03-06 00:20:45.604 0 0 I FG : fg_battery_soc_smooth_tracking: soc:91, last_soc:91, raw_soc:9136, soc_changed:1, batt_ma:-439452, smooth_low_batt_soc:0, smooth_soc: 0
03-06 00:20:45.604 0 0 I FG : soc_monitor_work: soc:91, raw_soc:91, c:-439452, s:1
03-06 00:20:45.727 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:45.728 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:45.731 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:45.883 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:45.884 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:45.886 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:46.041 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=0
03-06 00:20:46.044 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=0 completed
03-06 00:20:46.045 1102 1102 I sensors-hal: batch:180, android.sensor.accelerometer/50, period=200000000, max_latency=0
03-06 00:20:46.045 1102 1102 I sensors-hal: batch:189, android.sensor.accelerometer/50, period=200000000, max_latency=0 request completed
03-06 00:20:46.045 1102 1102 E sensors-hal: flush:205, invalid flush request, active=0, oneshot=0
03-06 00:20:46.045 1102 1102 I sensors-hal: activate:147, android.sensor.accelerometer/50 en=1
03-06 00:20:46.046 1102 1102 I sensors-hal: get_qmi_debug_flag:241, support_qmi_debug : false
03-06 00:20:46.052 1102 1102 I sensors-hal: activate:158, android.sensor.accelerometer/50 en=1 completed
03-06 00:20:46.204 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:46.205 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:46.207 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
03-06 00:20:46.360 1645 6421 W SensorService: sensor 00000028 already enabled in connection 0xb400007d8ca094d0 (ignoring)
03-06 00:20:46.361 1102 1102 I sensors-hal: flush:209, android.sensor.accelerometer/50
03-06 00:20:46.363 1102 1102 I sensors-hal: flush:215, android.sensor.accelerometer/50 completed
^C