HIP-237: Adding logic to filter out awake state in withings shim for sleep.