commit | 9f6565db1fa663917cbac1f57e9507d6bf7565e6 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Wed Oct 09 13:15:13 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Wed Oct 23 15:31:36 2019 -0700 |
tree | 97bf6b55221225234d23dc68174272cc077b84bd | |
parent | 09dd23144ac09919ea9040f210a8fec64d3585d6 [diff] |
Handle power state changes We need to check if power is on as the hsbp goes away during power off. This copies the power logic from dbus-sensors and uses it to avoid scanning when power is off. Tested: Warnings go away Change-Id: Ie949e7a98eb70592318710f3eecdfe766f71f110 Signed-off-by: James Feist <james.feist@linux.intel.com>