Sleep Tracking Issues

I am noticing that sleep tracking is not that accurate. If I am awake in the middle of the night . It doesn’t ask me if I am awake and stop sleep tracking .

any way to customize it or it just goes by the sleep schedule .