ubuntu 22.04 very slow in entering suspend
I am running ubuntu 22.04 (CPU Ryzen 5 5600G) as a htpc using integrated graphics and wifi internet connection. When I put the computer in suspend mode it take 20-30 seconds to enter suspend (power light going off). It wakes from suspend promptly. I have the following script in "/lib/systemd/
#!/bin/sh
# "/lib/systemd/
case "${1}" in
pre)
sleep 1
ir-ctl -s /home/pip/
sleep 2
ir-ctl -s /home/pip/
sleep 1
;;
post)
sleep 1
ir-ctl -s /home/pip/
sleep 1
ir-ctl -s /home/pip/
sleep 1
ir-ctl -s /home/pip/
sleep 1
;;
esac
exit 0
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alan Bromborsky
- Solved:
- Last query:
- Last reply: