Added timespan support for sleep as android data