I’m running Fedora 42 KDE on my 2015 MacBook Air, and it’s perfect other than one problem: if it stays asleep on battery for more than 24 hours, the system thinks the battery died and flashes the “charge now” icon on screen. When I plug it in, it fresh boots to the exact same level of battery it had when put to sleep.
MacOS drains more battery while asleep, so I think Linux is sleeping “too deep” if that’s even a thing.
I tried both and echo shallow | sudo tee /sys/power/mem_sleep returns “invalid argument” and sudo bash -c "echo shallow > /sys/power/mem_sleep” just makes my terminal show a > character where the text entry goes and nothing actually happens.