This have suddenly sprung up.
I’m not sure when it happened or if it’s a BIOS update that cause it. I’m generally very unsure.
But I’ve notice the computer instantly wakes up if put it to sleep or hibernate.
I’ve installed TLP just before writing here and no difference what so ever.
I’m generally looking for advice. LTS nor bleeding edge seem to make a difference with the Kernel.
My battery is dying and I’m waiting for a replacement. Might that cause an issue?
Can you, please, describe what and where you edited which files? The linked article has some discussion with a variation, which makes it confusing about the exact details.
Also, if you have edited a file under /lib/, AFAIK, you could override that package provided file with an equivalent under /etc/. I don’t know if the specific path works like that, so it would be great if you could test this method.
For example, instead of editing /lib/systemd/system-sleep/nvidia, copy that to /etc/systemd/system-sleep/nvidia, and modify as you explained.
Please, post the contents of the relevant files in the post, to keep the solution in our forum, in case the linked page (URL) changes.