dbus-sensors: Remove wrong dbus match rule
Use timer to check if needed service is ready.
This will replace the original dbus match rule given that it has better
performance. (Dbus match will match too many times which drops the
performance)
Tested:
Tested in different situation listed below:
* `smbios-mdrv2` provides CPU/DIMM interfaces which is needed.
1. Start `hwmontempsensor` when `smbios-mdrv2` is up then check
association is completed.
2.
2.1 Start `hwmontempsensor` when `smbios-mdrv2` is down then wait 1
minute to ensure nothing crashes.
2.2 Check association is not completed yet.
2.3 Then restart `smbios-mdrv2` and wait 30 seconds (to ensure timer
triggered)
2.3 Check association is completed.
Google-Bug-Id: 296380894
Change-Id: I0b58016f49098ecec4d39e592ee03668f305a9aa
Signed-off-by: Michael Shen <gpgpgp@google.com>
(cherry picked from commit 9381a251a7737a1c09a943fe1167c9e4c7fe8ca7)
1 file changed