I am very new to Arduino, but still wanted to share my workaround.
I will be following sensor parameter values as a function of time in minutes since the start of my experiment (data acquisition). I don't care about the clock, I just need elapsed time in minutes with the computer ON and powering my Arduino UNO.
I downloaded the following library
GitHub - PaulStoffregen/Time: Time library for Arduino
I wrote the following simple sketch
sketch_oct10aTimeEasy.ino (541 Bytes)
to reset at the start of your experiment, hit 'clear input' on serial monitor then hit 'upload'.
Using Windows10, I can keep the experiment running while away from the computer - LOCK computer with the COM3 page open in the foreground. Sleep does not work as there is a gap in data acquisition.
I hope it helps!