Sleep tracking

My Garmin only counts my sleep time after my last urination and awaking.  For example I pee at 4 am and then get up at 6:30 it records only 2.5 hours of sleep.  Because of this many of my days become recommended rest days.  Please help.