Base: improve quiethours

Change-Id: I06dd6cb2e60508ffe2f7e93c932f34617039d767