sensor-monitor: support skip power checking

The threshold event is binding with power state currently.
Due to some sensors access will not depend on the power state.
Provide a new option to let user to disable it.

Change-Id: Ib232b889cde70082e3bd630ffbe6939eede474f8
Signed-off-by: Jerry C Chen <jerry.c.chen.wiwynn@gmail.com>
diff --git a/meson.build b/meson.build
index c17fcdb..731d85f 100644
--- a/meson.build
+++ b/meson.build
@@ -136,6 +136,10 @@
     conf.set('ENABLE_HOST_STATE', '')
 endif
 
+if get_option('skip-power-checking').allowed()
+    conf.set('SKIP_POWER_CHECKING', '')
+endif
+
 conf.set(
     'SHUTDOWN_ALARM_HARD_SHUTDOWN_DELAY_MS', get_option('sensor-monitor-hard-shutdown-delay'))
 conf.set(