Hi,
am using ubuntu 18.04.4 and i am putting my system into S2RAM state using sysfs interface with echo mem > /sys/power/state , with this my whole system is going into supend state but specifically i want my lcd backlight or wifi in Active state without considering the state of system i mean to say to it shouldnt go into sleep state is it possible using sysfs interface?

Can someone help me to achieve this?

Thanks!