“Time in bed” is the difference between “Time out of bed” and “Time to bed” giving you a view of how long a user spent in bed on a given night.
For example, if you go to bed at 11 pm and you leave your bed at 7 am, your “Time in bed” will be 8 hours.