[~ozdror] / [~andraz313]:
> but cant apply the fix mentioned same write error
You cannot sudo echo to a file. The opener of the file is still regular-user.
Try either:
sudo sh -c 'echo deep > /sys/power/mem_sleep'
Or:
echo deep | sudo tee /sys/power/mem_sleep >/dev/null
(P.S. Looks like I'm affected too with XPS13 on Focal. Draining at 0.3W in s2idle. This did not appear to be an issue with Bionic.)
[~ozdror] / [~andraz313]:
> but cant apply the fix mentioned same write error
You cannot sudo echo to a file. The opener of the file is still regular-user.
Try either:
sudo sh -c 'echo deep > /sys/power/ mem_sleep'
Or:
echo deep | sudo tee /sys/power/ mem_sleep >/dev/null
(P.S. Looks like I'm affected too with XPS13 on Focal. Draining at 0.3W in s2idle. This did not appear to be an issue with Bionic.)