You are prudent to avoid waste of electricity by implementing the most successful power plan for your end point. Kudos for that.
Should your end point goes to sleep due to ideal time, your process will either get stalled or terminated, and you won’t be happy about it, the next morning.
I am sure you have run into such situations before. What do you do in such cases? Time for innovation. Put a slightly heavy object on a keyboard keys, preferably space bar with notepad open, that would keep your sessions always active.