It was called Sleep Cycle (play store link). You can get a free trial for a month but then you have to pay a subscription fee. It had some useful features though.