I am using a netbook as Plex Media Server.
I use wake on lan to start Ubuntu when I feel like watching a movie. Windows prevents my pc from going into hibernation when Plex is streaming a video to a client. Ubuntu does not, after say 20 minutes ubuntu goes into sleep/hibernation.
Generally my CPU is above 40% when streaming to a client. I would consider ubuntu as not being idle but obviously ubuntu is. Is there a workaround? Something that prevents ubuntu from hibernating if a process or all processes together are using more then 40% of the cpu?
Caffeine is not going to solve my problem because Plex Media Server is running as a service/daemon so I cannot set it to keep ubuntu awake if a certain process is running because it would never hibernate.
Any solution would be really helpful!